Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
DevOps for Salesforce

You're reading from   DevOps for Salesforce Build, test, and streamline data pipelines to simplify development in Salesforce

Arrow left icon
Product type Paperback
Published in Sep 2018
Publisher
ISBN-13 9781788833349
Length 220 pages
Edition 1st Edition
Concepts
Arrow right icon
Authors (3):
Arrow left icon
Mukta Aphale Mukta Aphale
Author Profile Icon Mukta Aphale
Mukta Aphale
Nagraj Gornalli Nagraj Gornalli
Author Profile Icon Nagraj Gornalli
Nagraj Gornalli
Priyanka Dive Priyanka Dive
Author Profile Icon Priyanka Dive
Priyanka Dive
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Salesforce Development and Delivery Process 2. Applying DevOps to Salesforce Applications FREE CHAPTER 3. Deployment in Salesforce 4. Introduction to the Force.com Migration Tool 5. Version Control 6. Continuous Integration 7. Continuous Testing 8. Tracking Application Changes and the ROI of Applying DevOps to Salesforce 9. Other Books You May Enjoy

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 Ant to retrieve the Salesforce metadata. Once the build is successful, we will have the metadata in the directory and trigger the Jenkins job to push the metadata from Jenkins to the GitLab repository. Verify the metadata in the GitLab repository.

Now we will set the global credentials in Jenkins.

Go to Manage Jenkins and select Global Tool Configuration. On...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image