CI/CD Home
Why choose sfdx-hardis?
There are many ways to do DevOps with Salesforce. Each has its advantages and limitations, as shown in the following comparison table.
Because it is user-friendly
Every persona can be autonomous in their tasks: Admins, Developers, Release Managers and even Project Leaders.
| Role | How they use sfdx-hardis |
|---|---|
| Admins | Build their pull requests using the VS Code extension with clicks. No command line required. |
| Developers | Same as Admins, + understand what's happening under the hood with the Salesforce CLI, thanks to the Advanced mode in the UI. |
| Release Managers | Configure the CI/CD process using the Visual DevOps Pipeline Builder Follow the Pull Requests and Deployments thanks to the DevOps Pipeline View |
| Project Managers | Follow application lifecycle management using sfdx-hardis native integrations with ticketing systems like Jira and Azure Boards. |
Because it is compliant with your tools
There are no "sfdx-hardis" servers anywhere. Everything runs in your own secured environment: your Git platform, your CI/CD runner, and your local VS Code or Salesforce Code Builder.
Cloudity has zero access to your data. sfdx-hardis is a CLI tool - it runs entirely within your own infrastructure, so no Salesforce metadata, no credentials, and no pipeline output ever leaves your environment. Compliance is fully in your hands: it depends on the tools you already operate (Git platform, workflow runner, Jira, AI providers, SSO, etc.) and the security policies you apply to them.
sfdx-hardis has native integrations with your preferred applications:
- Git & CI/CD: GitHub, GitLab, Bitbucket, Azure DevOps, Gitea, Jenkins
- Messaging: Slack, Microsoft Teams, Email
- Ticketing: Jira, Azure Boards, or any other tool via webhooks
- AI: Agentforce OpenAI, Anthropic, Gemini
- Observability: Grafana, Vector.dev (DataDog, Splunk, etc...)
Because it is AI-agent ready
sfdx-hardis commands natively support AI coding agents such as Claude Code, GitHub Copilot, Codex, and others.
Every command that involves interactive prompts supports an --agent flag that switches to a fully non-interactive execution mode. This means:
- No wasted tokens on interactive menus: agents don't have to parse and respond to multi-choice prompts, saving API calls and tokens.
- Predictable execution: required values are passed as CLI flags, and the command fails fast with a clear error message if anything is missing.
- Safe defaults: sensible defaults are applied when prompts are skipped, and destructive operations require explicit flags.
With 130+ commands supporting --agent mode, your coding agent can drive the entire Salesforce DevOps lifecycle: create user stories, deploy metadata, run diagnostics, purge obsolete data, manage packages, and more - all without human interaction.
Learn more in Using AI Coding Agents.
Because it is powerful
Advanced features make sfdx-hardis a credible alternative to expensive Salesforce DevOps tools.
See the whole sfdx-hardis smart deployment workflow explained in detail
We provide ready-to-use CI/CD pipeline workflows for the following Git platforms, with the results of deployment simulation jobs posted as comments on pull requests:
| Platform | CI/CD template |
|---|---|
| GitLab | GitLab CI configuration |
| Azure DevOps | Azure Pipelines checks, Azure Pipelines deployment |
| GitHub & Gitea | GitHub Actions / Gitea workflow checks, GitHub Actions / Gitea workflow deployment |
| Bitbucket | Bitbucket Pipelines |
| Jenkins | Jenkinsfile |
Pipelines can easily be adapted to other platforms like TeamCity.
Here is an advanced example of a Salesforce CI/CD pipeline that you can define using sfdx-hardis. You can define much simpler branch/org models to manage only RUN operations.
See advanced Q&A in the following article.
Because it monitors your orgs
CI/CD is only half of the story: once your changes are in production, you also need to know what is happening in your orgs. sfdx-hardis ships with a built-in Monitoring & Observability layer that runs in the same Git repository and pipelines you already use for CI/CD - no extra license, no extra platform.
What you get out of the box:
- Daily metadata backup with exact git diff between yesterday and today (who changed what, before / after).
- Suspect setup actions detected from the Salesforce Audit Trail, so production changes never go unnoticed.
- Apex tests, code quality (MegaLinter), org limits, deprecated API calls, release updates, unsecured Connected Apps, unused licenses, missing access... all scheduled and reported automatically.
- Per-channel notifications routed independently to Slack / Microsoft Teams, email, and API / Grafana / Prometheus endpoints, with a per-notification-type severity threshold (stream everything to Grafana, keep Slack for warnings/errors only).
- Ready-to-use Grafana dashboards to visualize org health, backups, tests, security, and license usage over time.
- Fully configurable from the VS Code SFDX Hardis extension or directly in
.sfdx-hardis.yml(frequency, thresholds, channels, custom commands).
Adopting sfdx-hardis for CI/CD means you also get a production-grade monitoring stack for your Salesforce orgs in the same move - see the Monitoring documentation for the full picture.
Because there are no license costs
As everything is open source, there are no license costs!
In comparison, many Salesforce DevOps vendors charge more than 250€/user/month per contributor.
You can handle everything yourself, or ask Cloudity Professional Services for support.
Because it is widely adopted
sfdx-hardis CI/CD is used in production by major companies around the world.
It is also featured in many conferences, blogs, and webinars.
Interview on SalesforceBen about sfdx-hardis and DevOps for Salesforce, including a demo
See the presentation of sfdx-hardis at Dreamforce!
See slides of the Dreamforce '23 session
See a detailed article on SalesforceDevOps.net
Get started
Setup sfdx-hardis
sfdx-hardis is open source and free to use - but getting it right from day one saves weeks of trial and error. Cloudity, the company behind sfdx-hardis, offers a range of professional services to match every team's needs and budget.
Assisted Setup - for experienced teams
Best for: Teams with solid Git and Salesforce CLI skills who want expert guidance without handing over the wheel.
Your team drives the setup. A Cloudity expert rides along: reviewing your branch model, validating your pipeline configuration, unblocking tricky situations, and making sure you follow best practices from the start.
What's included:
- Branch and org model review and recommendations
- Guided pipeline configuration (CI checks, deployments, notifications)
- Code review of your sfdx-hardis configuration files
- Q&A sessions with a Cloudity expert at key milestones
- Guidance and material to train your team on sfdx-hardis best practices
This is the most cost-effective way to get professional assurance without a full engagement.
Full Setup Service - end-to-end, done for you
Best for: Teams that want a production-ready CI/CD pipeline without investing internal time in setup and configuration.
Cloudity takes full ownership of the setup. We deliver a battle-tested, fully configured CI/CD pipeline tailored to your org structure, team size, and release process - ready to go live.
What's included:
- Analysis of your existing Salesforce org and release process
- Full pipeline setup on your Git platform (GitHub, GitLab, Azure DevOps, Bitbucket, Jenkins...)
- Branch model and deployment strategy definition
- Training sessions for contributors, release managers, and project leads
- Change management support to accelerate adoption across your organization
- Handover documentation and knowledge transfer
Option: Support Subscription - peace of mind, ongoing
Best for: Any team that wants guaranteed access to sfdx-hardis expertise after go-live - and wants to stay ahead of Salesforce releases.
A Cloudity expert is available whenever you need them: to answer questions, resolve blockers, and review changes. You also directly support the sustainability of sfdx-hardis as an open-source project.
What's included:
- A skilled Cloudity experts pool, reachable by your team
- Priority response for incidents and deployment issues
- Proactive alerts on Salesforce API changes and sfdx-hardis updates that may affect your pipelines
- Access to new sfdx-hardis features and security patches as they ship
- Direct influence on the sfdx-hardis roadmap through feedback and feature requests
Option: Release Manager as a Service - your release process, covered
Best for: Teams without a dedicated release manager, or who need cover during holidays, parental leave, or peak release periods.
A Cloudity release manager takes the wheel - permanently or on demand. Your team keeps shipping, your release cadence stays on track, no matter what.
What's included:
- Day-to-day management of pull requests, deployments, and release branches
- Coordination between development, QA, and business teams
- Incident response and rollback management
- Available as a permanent service or as a temporary cover arrangement
Prefer to set it up yourself? Read the Setup Guide to learn how to initialize and maintain a Salesforce CI/CD project.
As a Contributor
Please read the Contributor Guide to learn how to work on CI/CD projects as a Business Analyst, Salesforce Administrator, or Salesforce Developer.
As a Release Manager
Please read the Release Manager Guide to learn how to be a release manager on a Salesforce CI/CD project.







