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

- Go to the Source Code Management section and select Git.
- Provide the Repository URL.
- Provide Credentials, as demonstrated in the next screenshot:

- In the Build section, click on the Add build step and select Invoke Ant.
- Select the Ant name based on our Global Tool Configuration.
- Provide Targets. In Ant, we can give a target based on the targets defined in the build.xml file:

- Click on Save.