jenkins with heroku

Post on 15-Jan-2015

200 Views

Category:

Technology

4 Downloads

Preview:

Click to see full reader

DESCRIPTION

Jenkins with Heroku

TRANSCRIPT

Integrate with Heroku

@somkiat

Heroku

www.heroku.com

Cloud Service

PaSS = Platform as a Service

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

top related