Friday, December 20, 2013
How to create a Maven Build Job with Hudson?
In this article we will see how to create a Simple Maven build job that would create WAR file with the help of Continuous Integration (CI) server.
1] To build a Maven 2/3 project (Legacy) Hudson takes advantage of your POM files and drastically reduces the configuration.
2] In the Source code management section select your “SCM”. In my case it’s “Apache Subversion”. Select it and specify the “Repository URL”.
If you repository have some credentials set to checkout the code , update the it.
3] Under the build section, in Root POM field specify the pom file name.
4] Do you believe that we have done with the maven build configuration setup in Hudson? The truth is, it’s completed, save the project. In Hudson main Dashboard page you could able to view all the projects created.
5] Once everything is done, just click the Build now button in the left pane of the Hudson console for action.
6] Just now open up the console to check the output.
That’s it! Please do let us know if you have any queries!
good understandable format.
ReplyDelete