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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          mdonohue mdonohue added a comment -

          Created an attachment (id=810)
          proposed patch

          Show
          mdonohue mdonohue added a comment - Created an attachment (id=810) proposed patch
          Hide
          scm_issue_link 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.

          Show
          scm_issue_link 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.

            People

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

              Dates

              Created:
              Updated:
              Resolved: