1.2.0 • Published 2 years ago

@ciguru/sfdx-ci-plugin v1.2.0

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
2 years ago

Continuous Delivery Engine, based on SFDX CLI

Plugin for SFDX CLI with CI Engine functionality to automate the Salesforce CRM development process.

Installation

You can install this using SFDX CLI installer.

Requirements

Install SFDX CLI v7.142.1 or later.

Install package

> sfdx plugins:install @ciguru/sfdx-ci-plugin

Usage

Create configuration file

Create configuration file configuration.yaml

version: 1.x
inputs:
  - id: scratchName
  - id: devhubName
steps:
  - type: sfdx.force.org.create.scratch
    id: scratch
    alias: $input.scratchName
    devHubUserName: $input.devhubName
    definitionFile: config/sfdx-scratch-def.json
    isNoAncestors: true
    duration: 30
    overrideDefinition:
      adminEmail: test@example.com

See SFDX CI Engine to find out all supported configurations

Execute CI

Run command:

> sfdx ci:run -f configuration.yaml

Run to find out all supported options:

> sfdx ci:run --help