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

EnvInject undefines NODE_NAME environment variable on master

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: envinject-plugin
    • Labels:
      None
    • Environment:
      Windows 7, 64 bit
    • Similar Issues:

      Description

      I have quite a lot of jobs which can roam around between master and about 20 Slaves. The initial job updates an SCM view and compiles the software and starts depending jobs like building an installer. The installer job needs to know on which node to run which it is told by using the parameterized trigger plugin and the node label parameter plugin. After upgrading to latest Jenkins 1.527 this mechanism is broken at least for a Windows 7/64 bit master.

      I had similar problems about a year ago, see JENKINS-14109. Maybe this is helpful.

      Downgrading to 1.526 fixes the issue, so there must be a change in core which caused this. The only suspect from the changes I can see is JENKINS-19042

        Attachments

          Issue Links

            Activity

            bruce Dirk Kuypers created issue -
            bruce Dirk Kuypers made changes -
            Field Original Value New Value
            Attachment config.xml [ 24248 ]
            bruce Dirk Kuypers made changes -
            Attachment config.xml [ 24249 ]
            bruce Dirk Kuypers made changes -
            Link This issue is related to JENKINS-9671 [ JENKINS-9671 ]
            domi Dominik Bartholdi made changes -
            Link This issue is related to JENKINS-19307 [ JENKINS-19307 ]
            zioschild Sven Appenrodt made changes -
            Link This issue is related to JENKINS-23718 [ JENKINS-23718 ]
            domi Dominik Bartholdi made changes -
            Assignee Dominik Bartholdi [ domi ] Gregory Boissinot [ gbois ]
            Component/s envinject [ 15893 ]
            Component/s parameterized-trigger [ 15592 ]
            Component/s core [ 15593 ]
            Component/s nodelabelparameter [ 15873 ]
            danielbeck Daniel Beck made changes -
            Summary Update to 1.527 breaks ${NODE_NAME} as node parameter on master EnvInject undefines NODE_NAME environment variable on master
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 150670 ] JNJira + In-Review [ 177729 ]
            pjdarton pjdarton made changes -
            Link This issue depends on JENKINS-24283 [ JENKINS-24283 ]

              People

              • Assignee:
                gbois Gregory Boissinot
                Reporter:
                bruce Dirk Kuypers
              • Votes:
                6 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated: