Salesforce + Git + Jenkins

Skip to first unread message

Marco Polo

Aug 23, 2017, 4:05:58 PM8/23/17
to Continuous Delivery
Hello all,

Has anyone had experience setting up continuous integration and continuous deployment using these tools? I'm working on a salesforce implementation and would like to setup a deployment flow for it. Currently this is what I have.

First, Admins/Developers configure and develop in a share development salesforce sandbox. Secondly, using an eclipse plugin, they download the corresponding metadata and use egit in eclipse to commit and push all the new changes to a repository branch. The third step ideally would be to use Jenkins to communicate with our Git host, Bitbucket, and fetch all the new changes and build a deployment job to move all the new code to a new testing sandbox. 

The issue I have so far is that Jenkins fetches the entire repository on the first build. This causes a lot of issues because not all of the metadata needs to be moved and if certain metadata gets moved without any changes it makes the build fail. So ideally I need to figure out a way to start a first build without pulling the entire metadata and only the latest changes in the repository. 


Sacha Labourey

Aug 23, 2017, 4:28:41 PM8/23/17

You might want to post your question in the Jenkins-User Google Group ( as this is IMO pretty specific to Jenkins' option on handling git repos.



CloudBees, Inc.


You received this message because you are subscribed to the Google Groups "Continuous Delivery" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit

Reply all
Reply to author
0 new messages