为什么指定BUILD_HOST?
Why to specify BUILD_HOST?
部署到多个节点时,不是应该在每个节点上构建项目吗?为什么在配置文件中指定 BUILD_HOST
?
项目只在构建节点上构建,不在每个节点上构建。根据 documentation :
For build commands the following configuration variables must be set:
APP
: the name of your release which should be built
BUILD_HOST
: the host where to build the release
BUILD_USER
: the local user at build host
BUILD_AT
: the directory on build host where to build the release. must exist.
The built release is then copied to your local directory .deliver/releases
and can then be delivered to your production servers by using one of the deploy commands.
部署到多个节点时,不是应该在每个节点上构建项目吗?为什么在配置文件中指定 BUILD_HOST
?
项目只在构建节点上构建,不在每个节点上构建。根据 documentation :
For build commands the following configuration variables must be set:
APP
: the name of your release which should be builtBUILD_HOST
: the host where to build the releaseBUILD_USER
: the local user at build hostBUILD_AT
: the directory on build host where to build the release. must exist.The built release is then copied to your local directory
.deliver/releases
and can then be delivered to your production servers by using one of the deploy commands.