Deploying Latest to Heroku with Jenkins CI
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.
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)