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

Inject password as env var. masks all instances of password string

    XMLWordPrintable

Details

    Description

      When injecting a password as an environment variable I expect it to be masked in the Jenkins output console. This works as expected, but the password string is masked for every single match in the console output, even when it is not meant to be a password.

      I found this by accident as I was experimenting. You shouldn't run into this all that often, but I thought I should point it out.

      By looking at the screenshots attached I'm pretty sure you can all guess what my password was set to.

      Attachments

        Activity

          mnordsletten Martin Nordsletten created issue -
          oleg_nenashev Oleg Nenashev made changes -
          Field Original Value New Value
          Assignee Oleg Nenashev [ oleg_nenashev ]

          People

            Unassigned Unassigned
            mnordsletten Martin Nordsletten
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: