Build a package from Version Control
Overview
Convert and package your version-control files to Salesforce Metadata components based on a Start Revision. You can also configure an ALM project and sprint to include only revisions tied to a user story and its status.
Procedure
Log in to your ARM account.
From the top navigation pane, navigate to Create New > New CI Job.
New CI Job button Choose the tile: Package from Version Control.
Package from Version Control tile Enter a descriptive Job name.
Add a brief Description.
(Optional) Choose a Group to organize the job, or click
+
to create one.The configuration page is divided into sections explained below.
Build
Select your Version Control system â ARM supports Git, SVN, and TFS.
Choose the Repository and Branch.
Under Build Using, pick one option:
Baseline Revision â Enter a revision manually or click Edit (
) to select it from a list.
Select baseline revision Baseline revision pop-up
Time Range â Specify a period so ARM fetches only revisions in that window.
Time-range selector
Additional options in the Build section
Status Check API â Check the status of APIs running for the CI job.
Pull Request â Create a pull request for this job.
Merge Request â Create a merge request for this job.
Map ALM Project â Configure ALM (e.g., Jira) work-item statuses to include in the build.
Important note: Build Using â Baseline Revision/Time Range and Trigger Build on Commit are unavailable when Map ALM Project is selected.
Trigger Build on Commit â Launch a build whenever changes are committed to the branch.
Process commit revision via hook only â Visible only for Git-type repos. When enabled, the build packages changes from the commit revision received via webhook up to the branch head, ensuring no commits are skipped.
Note: If you commit both _nCino record-based config_ and _Salesforce metadata_ files to the same branch, certain Git systems may trigger unnecessary builds. This happens when the **Build on commit** option is enabled and changes occur only in an irrelevant folder.
Incremental Build â Fetch only metadata changed since the last successful deployment, dramatically reducing build time.
Prepare Destructive Changes â Delete unwanted metadata from the destination org before deployment.
Run Static Analysis Report â Identify code-quality issues before production.
Static analysis options panel Apex PMD / Checkmarx â Set criteria such as date range and Priority. If the priority threshold is not met, the build is marked unstable.
Criteria for Apex PMD and Checkmarx CodeScan / SonarQube â Choose to scan all metadata or only newly added components, then set a Priority.
Criteria for CodeScan and SonarQube Run on all supported metadata types â Scan every retrieved component.
Run on newly added supported metadata types â Scan only newly added components.
Run on all supported metadata types from the full source â Scan the entire branch.
Scope options for supported metadata types
For details on running Static Code Analysis in CI jobs, see this guide.
Additional Profile Packaging Options
Remove Login IP Ranges â Omit IP-range restrictions from profiles.
Remove System and User Permissions â Omit profile permissions from deployment.
Exclude Metadata Types â Skip metadata you donât need in the build.
Notifications
Send email notifications on build success or failure.

Schedule
Daily â Run every day at the chosen time or interval.
Weekly â Run on selected day(s) and time.
No schedule â Save the job and trigger it manually.
For credential-usage details across CI job types, see the FAQ.
What Next?
After saving the job, ARM redirects you to the CI Job Results page, where you can trigger the first build.
Last updated
Was this helpful?