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

SCM checkout: Global and per-node environment vars are not available

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      While working on issue 4028, I noticed that Hudson does not make the global and
      per-node environment variables available to the SCM checkout operation. This
      is unfortunate.

      Tom Huybrechts mentioned there may be a cyclical dependency in adding this
      feature, when I asked about issue 4028 on the dev mailing list:
      http://www.nabble.com/Re%3A-Issue-4028---node-environment-variables-p24556206.html

      I've got a potential patch I will be testing soon.

          [JENKINS-4124] SCM checkout: Global and per-node environment vars are not available

          mdonohue added a comment -

          Created an attachment (id=810)
          proposed patch

          mdonohue added a comment - Created an attachment (id=810) proposed patch

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/core/src/main/java/hudson/model/Build.java
          trunk/hudson/main/core/src/main/java/hudson/slaves/NodeProperty.java
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=20676
          Log:
          [FIXED JENKINS-4124] Global and per-node environment vars are made available to SCM checkout. In 1.321.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/model/Build.java trunk/hudson/main/core/src/main/java/hudson/slaves/NodeProperty.java trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=20676 Log: [FIXED JENKINS-4124] Global and per-node environment vars are made available to SCM checkout. In 1.321.

            Unassigned Unassigned
            mdonohue mdonohue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: