Deploying Latest to Heroku with Jenkins CI
Join the DZone community and get the full member experience.Join For Free
git rev-parse HEAD echo $GIT_COMMIT bundle exec rake heroku:predeploy git push firstname.lastname@example.org:heroku-app.git $GIT_COMMIT:master
The first two lines are there for logging, so that we know which revision was pushed to Heroku.
We’re now missing two important pieces from Heroku-bartender’s functionality: a visual of which revision has been deployed and the ability to run a task on any previous build.
Opinions expressed by DZone contributors are their own.