How Continuous Integration Can Help You to Make a Simple Deploy in Salesforce

Often, especially if you are new to Salesforce, you tend to take advantage of the changeset mechanism to deploy to Salesforce orgs. This works very well, but with this method, you don’t have a source control system to store and manage your development code. Here are some typical limitations:

  1. Missing version history;
  2. In case of problems, missing a simple way to rollback the target org;
  3. Team members can overwrite one another’s work with conflicting code or configuration changes;
  4. No easy way to clone or merge changes from multiple source orgs for deployment to the target org.

The objective of this short guide is to understand how Git can help you in the deployment process. To do this, we will use Gitlab and breakthrough its pipelines.