Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Jenkins Guide

1. New Maven Job

2. Enter item name and select maven project

3. Enter a meaningful description

4. Set Git Repository URL and credentials. Then hit on save.


5. Define Maven build parameters

6. Define deployment script. This depends on the artifact you want to deploy. The script
may also contain steps to do a stop/start service task prior to deployment.

7. Create Git Tag for versioning. Tags will allow you to revert your changes to a specific
version.
8. To create a new deployment pipeline, go to Jenkins home page the click the [+] button.

9. Select build pipeline and view name

10. Select the newly created maven project job and set “No. of Displayed Builds” to 5

11. Build the project for the first time by clicking the [Run] button

You might also like