Integrate with Heroku @somkiat
Jan 15, 2015
Integrate with Heroku
@somkiat
Software RequireGit
Heroku Toolbelt
https://toolbelt.heroku.com/
Heroku client => CLI
Foreman
Git for push to Heroku
Heroku Toolbelt
Basic usage
$heroku login
$heroku create
$git push heroku master
Working with Java Web Application
$git clone https://github.com/up1/demo_jenkin_web_project.git
https://devcenter.heroku.com/articles/create-a-java-web-application-using-embedded-tomcat
Additional file
pom.xml
Main.java
Procfile
Workshop
First step to Heroku
Heroku on Jenkins
Step 1Create New Job
Add git repository
Step 2
Add build step
Step 3
Add post build => Git publisher
Step 4
Try to manual run
see result
Result
Step more
Add auto build every a minute
Build when first job is builded success.
Now
Push code
Push code
Review code
Build on push
Daily build
Test on push