After the build, you can execute the shell script with any command that you like, so I would put the cap command there. Of course, Capistrano must be installed on the Jenkins system.
For more information on shell scripts, see the Jenkins Wiki .
source
share