Problem statement : Implement single click deployment using Jenkins and DeployIt
Tools used: Jenkins CI Server, DeplyIt Plugin for Jenkins, Github plugin for jenkins, Maven for building artifact.
Detailed use case :
Lets suppose we have our code in github in a public repository and we want that every fix which goes to “deployment” branch should get propagated to a dev environment automatically.
In order to get this set up working we would need to do:
1.) Configure Jenkins with gitHub and deployIt Plugin.
2.) Configure application placeholder and environment (including infrastructure) in which deployment would take place in DeployIt.
See the solution in my blog posted at Xebee :
True. I agree with Anirudh…
Infact there is lot inside Jenkins where
1) One can integrate pre and post deployment scripts inside jenkins jobs. Checkstyle and findbug reports can be presented on jenkins UI itself by configuring in post deployment steps for any jenkin job.
2) Test coverage report on test cases(JUnits) can also be presented by configuring the cobertura plugin and coverage metric targets to reflect your goals.
3) JIRA and Github can also be configured in order to capture SCM changes.
In nutshell one needs to follow the CI delivery model in today’s s/w development and automate the build and release process as much as possible.
Thanks,
Abhishek
1 quick note : We can write post deployment scripts and use instead of Deployit , perhaps Deployit provides more automated way to create the infrastructuire like Chef and deploy application artifacts on this. What do you say Anirudh?
True. I agree with Anirudh…
Infact there is lot inside Jenkins where
1) One can integrate pre and post deployment scripts inside jenkins jobs. Checkstyle and findbug reports can be presented on jenkins UI itself by configuring in post deployment steps for any jenkin job.
2) Test coverage report on test cases(JUnits) can also be presented by configuring the cobertura plugin and coverage metric targets to reflect your goals.
3) JIRA and Github can also be configured in order to capture SCM changes.
In nutshell one needs to follow the CI delivery model in today’s s/w development and automate the build and release process as much as possible.
What if i want to deploy to IIS from Jenkins ??? The Deploy Plugin onlye allows Tomcat, JBoss and Glassfish
Deployit has IIS plugin – http://www.xebialabs.com/plugin-gallery/all?populate=Middleware
See all deployit plugins here :http://www.xebialabs.com/plugin-gallery
Hi,
The link to your post http://xebee.xebia.in/index.php/2013/10/16/implement-single-click-deployment-using-jenkins-and-deployit/ that you mention as solutioin does not work.
The site was down due to some problem for sometime, but now its up and so is the link.
I’ve been loiokng for a post like this forever (and a day)