You need to sign in to do that
Don't have an account?

Azure DevOps and SFDX
Is it possible to run Azure DevOps pipelines using Salesforce DX? Presumably the sfdx cli needs to be installed, but unsure of a starting point.
I've seen a video leveraging ANT scripts, but nothing so far with sfdx.
You can use Azure directly from Visual Studio Code through extensions.
Using either the Azure CLI or the Azure App Service extension, you can have your application running in Azure in minutes.
Visual Studio Code Marketplace:
There are many VS Code extensions on the Marketplace that make it easy to build and host applications on Azure.
- Azure CLI tools
- Azure app service
- Azure cosmos DB
- Azure Storage
- Azure function
- Azure Account
- Docker
- Azure Resource Manager Tools
There is also a Node Pack for Azure extension pack which bundles useful Azure extensions for Node.js developers into a single installation.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi
Does anyone know where can I find a sample of YAML file for Salesforce depoyment pipeline on Azure DevOps? thanks in advace.
See : Azure DevOps (http://leanbridgetech.com/devops-as-a-service/) with Salesforce - YouTube (https://www.youtube.com/watch?v=KPGaVO72I1s)
We have 3 CI/CDs going to SF. Each first has a Build box that runs unit test, and then a manual Azure task deploys to a Test box with no unit tests run. Then, we have a few Azure tasks that execute other types of tests.
Regards : https://devopstraininginpune.com/
Here is a step by step guide to setup the automated deployment process using SFDX and Azure devops.
Turn your autopilot mode on !!
http://theapexhub.com/ci-cd-setup-using-azure-devops-salesforce-dx-and-visual-studio-code/
https://salesforcerealm.com/2020/03/08/sfdc-ado-data-extract/
For the requirement in the ask here, include the "trigger" function in your pipeline (yml file).
For Eg:
The above two lines could trigger you pipeline if there is a push to you repo's master branch. There are various comnbinations of triggers with branches include & exclude options available.
https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/azure-repos-git?view=azure-devops&tabs=yaml#ci-triggers (https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/azure-repos-git?view=azure-devops&tabs=yaml#ci-triggers)
Now using sfdx if you have a push to the repo where the pipeline (yml file) exists, you can trigger the pipeline.
Mark as best answer if this helps.
Regards,
Rohit
salesforcerealm.com
Regards
Himanshu
https://clearcycle.blogpspot.com
For more visit! https://mmcgbl.com/factors-of-microsoft-azure-cloud-service/