Description
Discussed in #3242
Originally posted by jhgihub0 March 14, 2025
With #3194 a new feature was added to display "Test Success" when running deployments with --verbose
Using @salesforce/cli/2.79.4 darwin-arm64 node-v22.11.0, in Terminal or Docker, you can display "Test Success" by running:
sf project deploy start --target-org OrgAlias --wait 120 --test-level "RunLocalTests" --source-dir ./sfdx-source --dry-run --verbose
It will show something like
However, if you run these same commands in Jenkins it does not show the "Test Success"
The reason is because Jenkins sets the CI system variable to true. If I run the following locally or docker, the "Test Success" section is also not displayed.
export CI=true
sf project deploy start --target-org OrgAlias --wait 120 --test-level "RunLocalTests" --source-dir ./sfdx-source --dry-run --verbose
Can you please update the Salesforce CLI to also display the "Test Success" when CI=true? Setting CI to false in Jenkins works, but the log becomes a giant mess.
Thank you.