When deploying to multiple nodes, shouldn't we build the project on each node? why specifying BUILD_HOST
in config file?
The project is built only on the build node, not on each node. According to the 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.