Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68554

Credentials/Password not masked in stdout of test reports

XMLWordPrintable

      We use a multi brach pipeline job to run integration tests. In that pipeline we inject some credentials using withCredentials(..). The integration test logs the credentials to stdout. (I know, that's not the best idea, but it shows the problem)

      In the job's console output, the username and password are masked correctly.
      But in the test report, there is also a stdout section, which does not mask the username and password.

      I'm not sure if the fix must be done on the side of the credentials-binding-plugin or on the side of the junit-plugin, as I don't know exactly how they play together. Please find the best place to fix that issue in order to mask the password correctly in both stdout sections.

      Thank you in advance and kind regards!

            Unassigned Unassigned
            felixk Felix Kelm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: