Configuring the Ant Migration Tool with Jenkins

To communicate with Salesforce, we need to install the Ant Migration Tool on the Jenkins server. We have already covered the installation steps for the Ant Migration Tool in Chapter 4, Introduction to the Force.com Migration Tool. Install the Ant Migration Tool on the Jenkins server and configure the path in Jenkins. Once you install the Ant plugin in Jenkins, you will get the option to Invoke Ant in the Add build step  dropdown menu for your Jenkins Job, which will run build.xml and perform the tasks mentioned in the script:

When the developer triggers the Jenkins Job, we will select Invoke ...

Get DevOps for Salesforce now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.