Thursday, May 2, 2019

CI/CD Salesforce model

Hi All,

So many of you are wondring how to have a CI/CD model implemented with Salesforce. There are many options:

  1. SFDC
  2. Custom AppExchange products(using some sort of version controll and handing access to that repository to the app)
  3. Custom
I am going to share a flavor of the 3rd option below.

Your setup needs will be:
  1. Git repository that is published with internet access
  2. Jenkins that is published with internet access 
  3. Ant/JAVA setup within Jenkins
  4. Salesforce creds.
Your working path will be:
  1. Developer connects with git repository and make the code changes and then commit the code in git.
  2. Git will fire Jenkins job that will deploy the code into another org.
Click the below gif to see demo.