Tuesday 2 April 2019

Azure DevOps with Salesforce | DevOps for Salesforce

After completing "Continuous Integration in Salesforce Using Jenkins and GitHub (CI/CD)" session in ApexHours, We did one more session on Azure DevOps. 

What is DevOps (CI/CD) : DevOps is a culture and a set of process that bring development and operations teams together to complete software development. It allows the organization to develop and improve the product in a faster way that they can do with other software development approaches. Continuous integration (CI) is a DevOps software development best practice. This best practice helps development teams to detect problems, identify bugs, and fix those problems and bugs before releasing changes to their customers.

Why DevOps :-
  • Shorter Development Cycles, Faster Innovation
  • Reduced Deployment Failures, Rollbacks, and Time to Recover
  • Improved Communication and Collaboration
  • Increased Efficiencies
Lets Understand the CI/CD

Continuous Integration :- Using continuous integration, a product is made to incorporate and integrate each code modification on each commit (continuously), by any and all developers. an automated build then verifies each check-in, letting teams detect issues early.

Continuous Delivery :- Continuous delivery ensures that code will be speedily and safely deployed to production by manually pushing each change to a production-like environment. Since each modification is automatically delivered to a staging environment, you'll be able to deploy the application to production with a push of a button once the time is correct

Continuous Deployment :- Continuous deployment is the next step of continuous delivery. using Continuous deployment, each modification that passes the automated tests is deployed to production automatically. Most firms that aren’t bound by regulatory or other constraints should have a goal of continuous deployment.

Thanks Amit Singh and ApexHours for above Image.

Thank you Amit Singh for a great session on Azure DevOps with Salesforce in ApexHours.

  1. What is DevOps? Why DevOps?
  2. Introduction to Continuous Integration, Continuous Delivery and Continuous Deployment
  3. Prerequisite
  4. Live Demo
    • Create a Project
    • OverView of Project, Build, Release and other related stuffs
    • Create a Build and Run the Build
    • Create a Release with Multiple Steps
    • Add Variables in the Release
    • Run the Release to Deploy the Code into Salesforce ORG

Please check below recording for same.

If you want to learn more about CI/CD and DevOps please check below post :-

1) Continuous Integration in Salesforce Using Jenkins and GitHub (CI/CD) (Check here)
2) Continuous Integration using Jenkins with SFDX | Using JWT Flow (Check here)

Amit Chaudhary


  1. Your post contains a lot of useful information for me. Thank you very much for that.

  2. can you please try with salesforce CLI with out Ant or Ant with Salesforce CLI

  3. Hi amit good session can you please help us by git hub code for the azuredevops intergation with saleforce can you share code for this

  4. Great work. My question is how we can setup something in which once it deployed to dev sandbox , automatically trigger pipeline and commit changes to other branch like qa and then deploy to QA SANDBOX IN ONe trigger.