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. Inject Password..PNG
          Inject Password..PNG
          5 kB
        2. Inject Password..PNG
          Inject Password..PNG
          5 kB
        3. 1.PNG
          1.PNG
          11 kB
        4. 2.PNG
          2.PNG
          41 kB
        5. 3.PNG
          3.PNG
          21 kB

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

          Arpit Nagar created issue -
          Arpit Nagar made changes -
          Component/s New: promoted-builds [ 15567 ]
          Description Original: 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.
          New: 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.
          Arpit Nagar made changes -
          Summary Original: Getting Empty valuein retrieving Global Password Field. New: Getting Empty value in retrieving Global Password Field.
          Arpit Nagar made changes -
          Attachment New: Inject Password..PNG [ 24524 ]

          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.
          Arpit Nagar made changes -
          Attachment New: Inject Password..PNG [ 24525 ]
          Arpit Nagar made changes -
          Assignee Original: Arpit Nagar [ arpitgold ]

          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
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 151118 ] New: JNJira + In-Review [ 177853 ]

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

              Created:
              Updated: