Skip to main content

Perform CICD deployment

Apex pages overrides in Salesforce

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

  1. Open Job
  2. Click New Step button
  3. Name your Step and select CICD step type
  4. Select your Git Connection (see notes below)
  5. Select repository
  6. Select branch
  7. Specify path to the directory you want to deploy (see notes below)
  8. Select project format - mdapi or SFDX
  9. Choose which tests to run
  10. Select 'On Error' action
  11. Save your changes
  12. Select your new step
  13. Select at least one Target org
  14. 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
  • 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
  • NOTE 4: You can only enable webhooks for repositories where you are the repo owner

Video Tutorial

Watch on YouTube