Skip to content
Promote Force

Quality gates

Every change passes the same checks, every time.

Each time a promotion's head commit changes, its gates run again. A promotion only joins the merge queue when they pass and it is approved.

A promotion into Production: validation and quality gates passed, approvals at 1 of 2, and the deploy waiting for the second approval.
Promote Force with demo data.

Static code analysis

Salesforce Code Analyzer runs on the files a promotion changes, and its findings show inline in the review.

  • PMD, ESLint, RetireJS, regex, Flow and copy-paste detection engines by default; Graph Engine is opt-in.
  • The path decides the severity that blocks (High by default) and whether only new findings count.
  • Bring your own code-analyzer.yml in the repository to tune the rules.

Check-only validation

Each promotion is validated against the target org before it joins the queue, then the queue validates the whole batch once and quick-deploys it.

  • Run the mapped tests, a fixed list of test classes and suites, local tests or all tests, per path.
  • Mapped tests are picked from the change: test classes in it, the matching Test class for each class (FooTest, Foo_Test, …) and the project's test mapping rules, wildcards included.
  • Every validation lists the tests it ran and why.

Per-class coverage, in every stage

Salesforce checks overall coverage when you deploy to production. Promote Force checks a minimum per Apex class and trigger, 75% by default, on every validation, sandboxes included, so low coverage shows up at Integration rather than on release day.

Approvals that mean something

Only approvals on the current head commit count, authors can't approve their own promotion, and any open request for changes blocks. Pushing new commits asks for a fresh review.

Merge checks, Jira and deployment steps

Promotions also wait for what they depend on.

  • Merge checks: a feature that depends on another can't reach a stage before it.
  • The Jira gate: linked issues must be in the status the path requires.
  • Required pre-deployment steps, such as turning off an integration, keep a promotion out of the queue until they are done.
  • OmniStudio projects add an OmniStudio gate for DataPacks, which have no check-only deploy.

Stop stitching your release process together.

Connect your first org or repository in a few minutes. No CI pipeline or scripts to maintain for Salesforce.