Ant Configuration in Jenkins

Install and Configure Jenkins using Jenkins.war if you have not installed Jenkins yet.

Once installation is successfully completed with initial configuration, On Jenkins Dashboard, click on Manage Jenkins


Click on the Global Tool Configuration Link.

Manage Jenkins

There are two options to configure.

  1. You can Install Automatically by clicking on the checkbox and selecting specific version
  2. If Ant is already installed then give its path directly so we can configure it while creating a new build for Java Projects

Uncheck the checkbox for installing Ant automatically as we assume that Ant Installable Zip is already  downloaded and extracted  so Ant is available. Give Path to the Ant Folder available in your system.

Ant and Jenkins

If we have multiple Versions of Ant then we can configure them by clicking on Add

Click on Apply and Save.


Leave a comment

Your email address will not be published. Required fields are marked *