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

Getting Empty value in retrieving Global Password Field.

      We are getting issue in retrieving Global Password Field.

      Steps to reproduce

      Step 1 : Add a Global Environment Variable (See attachment 1.png)

      Step 2 : Add a promotion Step in Job and trying to access Global build password field. (See attachment 2.png)

      Step 3 : In Output we are not getting value, it is empty string. (See attachment 3.png)

      Please provide the solution for the same.

        1. 1.PNG
          1.PNG
          11 kB
        2. 2.PNG
          2.PNG
          41 kB
        3. 3.PNG
          3.PNG
          21 kB
        4. Inject Password..PNG
          Inject Password..PNG
          5 kB
        5. Inject Password..PNG
          Inject Password..PNG
          5 kB

          [JENKINS-19601] Getting Empty value in retrieving Global Password Field.

          Arpit Nagar added a comment -

          This is may be because in promotion step "include Global password" in build Environment is missing.
          Please see attached screenshot.

          I think there should be a way to include Global Password, in promotion as well, which is there in normal build Environment.

          Arpit Nagar added a comment - This is may be because in promotion step "include Global password" in build Environment is missing. Please see attached screenshot. I think there should be a way to include Global Password, in promotion as well, which is there in normal build Environment.

          shans zoe added a comment -

          I got the same problem too. I got the empty value in retrieving jenkins environment variables,such as $SVN_URL and $SVN_REVISION.
          https://issues.jenkins-ci.org/browse/JENKINS-27285

          shans zoe added a comment - I got the same problem too. I got the empty value in retrieving jenkins environment variables,such as $SVN_URL and $SVN_REVISION. https://issues.jenkins-ci.org/browse/JENKINS-27285

          Same here for global passwords an also for job password.
          Last working versions: jenkins 1.599 and envinject 1.90

          Michael Binder added a comment - Same here for global passwords an also for job password. Last working versions: jenkins 1.599 and envinject 1.90

            Unassigned Unassigned
            arpitgold Arpit Nagar
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: