8000 "Test Success" not showing with CI=true system variable · Issue #3291 · forcedotcom/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
"Test Success" not showing with CI=true system variable #3291
Closed
@shetzel

Description

@shetzel

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

image

However, if you run these same commands in Jenkins it does not show the "Test Success"

image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue or pull request that identifies or fixes a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0