
上QQ阅读APP看书,第一时间看更新
How to do it...
- Open the Jenkins dashboard.
- Click on New Item.
- Enter an item name.
- Select a template Maven project.
- Click on OK:

- Go to the Source Code Management section and select Git.
- Provide the Repository URL.
- Provide Credentials.
- In the Build section, the Root POM name will be already available.
- Maven has its own set of goals and we can execute any one of those goals based on requirements. These steps are demonstrated in this next screenshot:

- Click on Save.