/sfpowerscripts

sfpowerscripts is an orchestrator using sfdx-cli and sfpowerkit focused on CI/CD. The project supports Azure Pipelines through an extension and other CI/CD platforms using a sfdx-cli plugin

Primary LanguageTypeScriptMIT LicenseMIT

DeepScan grade Build Status npmNPM Visual Studio Marketplace Installs - Azure DevOps Extension

sfpowerscripts

sfpowerscripts is a lightweight orchestrator built on top of sfdx-cli and open source sfdx plugin sfpowerkit aimed at eliminating wasted efforts in writing boiler plate code (often written using bash scripts) while setting up a Continous Build system for Salesforce.

The project supports the following targets at the moment

  • Azure Pipelines through a native extension. More details on the extension is available here
  • For other Continous Build platforms, through a sfdx-plugin. Details on the command and usage is available here

The project intends to add native extension to other CI/CD platforms (which supports an extension based model) or provide sample pipelines to get started with minimal efforts.

Motivation

  • Using sfdx-cli commands are relatively simple, however additional scripts are required to parse the JSON output, set it to environment variables etc

  • Additonal scripts are needed to integrate with a Continous Build system's native dashboards or features. For eg: In the case of Azure Pipelines, integrating with Test Reports etc

  • Providing additional functionality that is either not supported by the sfdx-cli, such as building a package only if its changed or skip installation if its.already installed in th org

  • Ease of use, one should not be spending too much time building a pipeline.

History

sfpowerscripts initially began life in the form of a Azure Pipelines Extension. available through the Visual Studio marketplace wrote by @azlam-abdulsalam as a personal project.

The project was then migrated to Accenture Open Source Program and a key component of Accenture DX@Scale initiative, a set of opinionated tool and practices for Enterprise Salesforce Development.The project is currently being expanded to support other Continous Build Platforms utilizing a sfdx-plugin.

Maintainers

List of Maintainers are available in the link

Where do I reach for queries?

Please create an issue using the methods listed here.