Replies: 4 comments
-
|
@cristiand391 is this something that can be added? |
Beta Was this translation helpful? Give feedback.
-
|
@jhgihub0 - An end-state metric like the number of passed tests should be present in CI output. This feels more like a bug than a feature request. Thank you for letting us know! |
Beta Was this translation helpful? Give feedback.
-
|
This issue is fixed in version 2.90.4 (May 28, 2025). |
Beta Was this translation helpful? Give feedback.
-
|
@VivekMChawla @jshackell-sfdc it seems to be working great with 2.90.4. Thank you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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 --verboseIt 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=truesf project deploy start --target-org OrgAlias --wait 120 --test-level "RunLocalTests" --source-dir ./sfdx-source --dry-run --verboseCan 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.
Beta Was this translation helpful? Give feedback.
All reactions