Skip to main content
On the topic of SFDX and DevOps - We have an SFDX pipeline set up on my current project and the latest SFDX 'warning' is being written to the Bash Standard Error Stream:

 

⌗⌗[error]Bash wrote one or more lines to the standard error stream.

⌗⌗[error]WARNING: In Summer '20, the apex test reporter will return more relevant and accurate code coverage results for test runs. To preview this change, set the environment variable SFDX_IMPROVED_CODE_COVERAGE='true'. Learn more at https://releasenotes.docs.salesforce.com/en-us/spring20/release-notes/rn_sf_cli_code_coverage_apextests.htm

 

This is causing our pipeline to report a failure when actually it's 100% deployed and unit tests passed. We've even set the variable to true, and it's not removed the warning message from standard error stream. This may be causing issues for various people so though I'd report it. Can this Warning not be written to the error stream? Surely it's not an error.
2 answers
  1. Mar 25, 2020, 5:54 AM
    Can someone please help me too, I want to complete the lightening web components Trail in trailhead but i keep getting this error. I installed CLI and updated it to pre realese version I installed Visual Code I installed git and node JS I installed Salesforce extantion pack and Lightning Web Components And I keep getting this error.

    The following command is not working :

    sfdx force:auth:web:login

    Thanks