Perform CICD deployment
CICD allows you to configure deployment of metadata (in mdapi or SFDX format) located in a specific branch of your Git repository.
What’s updated by ZuppIO:
Any valid mdapi or SFDX branch contents deployed to Target orgs.
How to perform CICD deployment
- Open Job
- Click New Step button
- Name your Step and select CICD step type
- Select your Git Connection (see notes below)
- Select repository
- Select branch
- Specify path to the directory you want to deploy (see notes below)
- Select project format - mdapi or SFDX
- Choose which tests to run
- Select 'On Error' action
- Save your changes
- Select your new step
- Select at least one Target org
- Choose one of two actions:
- Press Validation to run a job in checkonly mode
- OR press Execute to apply changes to Target org(s) without validation
Notes
- NOTE 1: Make sure the CICD feature is enabled in ZuppIO Settings and you have added at least one Git Connection.
- NOTE 2:
- For mdapi project: set the directory which contains the
package.xml
file - For SFDX project: choose the directory you want to deploy
- For mdapi project: set the directory which contains the
- NOTE 3: To use the CICD step, you’ll need a PAT (Personal Access Token) from your Git provider:
- GitHub: Enable
Full control of private repositories (repo)
- BitBucket:
- Account:
read
- Repositories:
read
- Webhooks:
Read and write
- Account:
- GitHub: Enable
- NOTE 4: You can only enable webhooks for repositories where you are the repo owner