You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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.
Beta Was this translation helpful? Give feedback.
All reactions