Start a CI Build Automatically or Manually
Overview
The following articles describe how to trigger a new build for your CI Job created in AutoRABIT.
Prerequisites
Users must have permission to access the CI Job Results page.
The account owner or admin can assign this permission under Admin > Roles by enabling the required permission in the role configuration.
Trigger a new Build
Navigate to the CI Job Results screen.
This screen lists all CI Jobs for which builds have been triggered.

Jobs with deployments display the icon:
, while validated-only jobs show: 
Use the Select Job dropdown to choose your CI job.

If no builds exist yet, you'll see: "No builds found for this job. Please trigger a new build for results." Click Build Now.

If previous builds exist, click Build Now to trigger a new build.

The build initiation screen will differ depending on whether your CI Job is configured with ALM.
ALM-configured CI Job
ALM-integrated CI Jobs display ALM work item information from the source version control branch.

Commit: Displays work items committed to the source branch.

Merge: Displays work items merged into the source branch.

Without ALM-configured CI Job
CI Jobs without ALM integration show the following build input screen:

Enter a Title and optional Comments
Choose Deployment Type:
Deploy: Executes a full deployment to destination org or branch.
Validate only: Runs validations without deployment.
Additional Options:
Run Code Coverage On Destination
Enabled if test execution is configured in the CI Job.
Generates Apex test coverage reports.
Enable Rollback For Deployment
Enabled if Rollback was selected in the CI Job's Deploy section.
Ignore Warnings
Allows deployment to continue despite warnings.
Use the Notes field to enter optional information.
Click Trigger Build to validate and execute the build.
Upon triggering, you will be redirected to the CI Job Results page, where build reports are available.
For the following Pull Request events, AutoRABIT triggers a build:
Validation Details:
Editing and committing a pull request triggers the CI job as expected.
When a pull request is edited, GitHub marks it accordingly, and AutoRABIT builds are triggered upon commit synchronization.
Webhook Delivery Screenshot:

Webhook Configuration Screenshot:

FAQs
Is there a way to prepare/validate a deployment ahead of time and schedule ARM to execute it later?
Option 1: Scheduled CI job
ARM can schedule a CI job to deploy to Production during your approved maintenance window. For example, the job runs automatically at 11:00 p.m. on Saturday, so the Release Manager does not need to log in. There are two things to be aware of. This is a fresh deployment execution, so any configured Apex tests run again during the off-hours window. The job also builds from the branch at the moment it fires, so it deploys whatever is on the branch at 11:00 p.m. rather than what was reviewed earlier in the day.
Option 2: Quick Deploy through the API
If the requirement is to validate during business hours and then reuse that same Salesforce validation later, ARM has a Quick Deploy API for CI jobs.
The API is POST /cijobs/v1/triggerquickdeploy/{jobname}/{buildnumber}. It uses Salesforce deployRecentValidation, so the tests do not run again. Your existing scheduler, such as Control-M or another cron-based scheduler, can call it during the approved window. The call needs the token header, a Content-Type: application/json header, and an empty JSON body.
There are two limitations. The Salesforce validation must be less than 10 days old, and that limit is fixed rather than configurable. Quick Deploy also exists in the Deployment module, but it runs from the ARM screen only and is not on the API today, so an external scheduler cannot trigger it. Only CI job Quick Deploy is available over the API.
The approval flow
ARM already has a deployment approval flow if the main requirement is to hold a deployment until an approver authorizes it. That still needs a person to release it, so it does not give you automated execution at a set time.
Last updated
Was this helpful?

