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

Environment variables not visible / linked for pipeline jobs

    Details

    • Similar Issues:

      Description

      In other job types, for a given build, if the EnvInject plugin is installed then "Environment variables" shows up as a link on the left sidebar. In addition, if Build Environment plugin is installed, it'll add a "Compare Environment" link to builds that lets you easily compare environment variables across builds.

      Both of these are very useful for troubleshooting build problems, but they're missing from Pipeline jobs.

      Not sure if this is something about Pipeline plugins themselves, or if those two plugins need to be updated to support pipeline jobs.

        Attachments

          Activity

          marcesher Marc Esher created issue -
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 172917 ] JNJira + In-Review [ 184826 ]
          abayer Andrew Bayer made changes -
          Component/s pipeline-general [ 21692 ]
          abayer Andrew Bayer made changes -
          Component/s workflow-plugin [ 18820 ]
          Hide
          jglick Jesse Glick added a comment -

          EnvInject is not, and will not be, compatible with Pipeline. Not sure about the other plugin.

          Show
          jglick Jesse Glick added a comment - EnvInject is not, and will not be, compatible with Pipeline. Not sure about the other plugin.
          jglick Jesse Glick made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Not A Defect [ 7 ]
          Hide
          adir_atias Adir Atias added a comment - - edited

          Jesse Glick  why it won't be supported ?

          The environment variables are really useful.

          especially after the build is done and you want to debug / compare / examine.

           

          Show
          adir_atias Adir Atias added a comment - - edited Jesse Glick   why it won't be supported ? The environment variables are really useful. especially after the build is done and you want to debug / compare / examine.  
          Hide
          jglick Jesse Glick added a comment -

          Variables set by env.X = y are available via REST in a completed Pipeline build. If there is a “Build Environment” plugin somewhere, and it does not support Pipeline builds, file an RFE for it with label pipeline.

          Show
          jglick Jesse Glick added a comment - Variables set by env.X = y are available via REST in a completed Pipeline build. If there is a “Build Environment” plugin somewhere, and it does not support Pipeline builds, file an RFE for it with label pipeline .
          Hide
          marcesher Marc Esher added a comment -

          Thanks Jesse Glick. I've added JENKINS-47387 for the build-environment-plugin

          Show
          marcesher Marc Esher added a comment - Thanks Jesse Glick . I've added JENKINS-47387 for the build-environment-plugin

            People

            • Assignee:
              recena Manuel Recena Soto
              Reporter:
              marcesher Marc Esher
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: