Summary

In this chapter, we have learned how to automate backups for Salesforce metadata and push code to the Git repository using Jenkins. Tracking changes in Salesforce is possible with GitLab and Jenkins jobs. We have explained how to configure the Ant Migration Tool with Jenkins and what the flow is for this retrieved code from the sandbox to the Jenkins server so as to push it to the Git branch using the script for backup.

We have learned how to set up our own Jenkins server and configure it to retrieve metadata from our Salesforce sandbox. Also we have configured a Jenkins job for deploying metadata from one sandbox to another sandbox. Regarding the deployment job, we discussed the tools that can be used and explained the flow for deployment ...

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.