Credentials/Password not masked in stdout of test reports

This issue is archived. You can view it, but you can't modify it. Learn more

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!

            Assignee:
            Unassigned
            Reporter:
            Felix Kelm
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: