Setup Salesforce Deployment Assistant
Using sfdx-hardis CI/CD
If you are using sfdx-hardis CI/CD, you are already all set !
Just make sure to have configured your GitHub, Gitlab, Azure Pipelines or BitBucket integration so the deployment assistant can post its help in Pull Request comments.
If you want to supercharge Salesforce deployment assistant with AI, process sfdx-hardis AI setup.
Using custom CI/CD pipeline
Replace your calls to Salesforce CLI by calls to sfdx-hardis commands wrapper.
Configure your GitHub, Gitlab, Azure Pipelines or BitBucket integration so the deployment assistant can post its help in Pull Request comments.
Notes:
- sfdx-hardis deployment assistant currently do not support --json option. If you really need it please request it in sfdx-hardis GitHub issues !
- there is no sfdx-hardis wrapper command yet for
sf project deploy start
. If you really need it please request it in sfdx-hardis GitHub issues !
Example
Replace:
sfdx force:source:deploy -x manifest/package.xml --checkonly
by
sf hardis:source:deploy -x manifest/package.xml --checkonly