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

After entering a username/password combo in Credentials Binding, I can print out the value of the password inside a Jenkins job

XMLWordPrintable

      I used the Credentials Binding plugin to store a username/password pair in the Jenkins global config.
      Then, I created a project, and bound a username/password variables to these credentials.
      Then I was able to print out the value of the password to the console log.
      Screen shots are attached.

        1. Bind TEST_USERNAME and TEST_PASSWORD and echo.PNG
          19 kB
          M Chon
        2. com.michelin.cio.hudson.plugins.maskpasswords.MaskPasswordsConfig.xml
          0.8 kB
          M Chon
        3. console output john doe.PNG
          11 kB
          M Chon
        4. credentials.xml
          1.0 kB
          M Chon
        5. john_doe-config.xml
          2 kB
          M Chon
        6. john_doe not bound.PNG
          11 kB
          M Chon
        7. mask passwords.PNG
          30 kB
          M Chon

            jglick Jesse Glick
            mcsf M Chon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: