Pages

Friday 12 July 2013

How to build a maven project job in Jenkins


How to build a maven project job in Jenkins


 Creating new job.



  • Select a New Job from the left menu bar.
  • Add the Job name specified in red box.
  • Select the radio button for building a maven2/3 project.
  • Click Ok.

 Configuring Project 


  • Add the Repository URL by selecting the Subversion (SVN) button.
  •  If you want to specify the folder name where all build process should be done, it can be entered in Local module directory.

Specifying the goals and Options.



  • You can set goals you want to execute followed by the Database options  -DDBUsername=<DB Username> -DDBPassword=<DB Password> -DDBUrl=<Database URL>”.
  • Click Save and Apply.                                                                                                                                                
References:-



No comments:

Post a Comment