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

Slave environment PATH variable not updating

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None

      Situation: trying to install GIT on the Windows 7 machine and let Jenkins use the GIT executable on the slave.

      Result: Jenkins job can't find git.exe as the PATH environment variable is not updated on the Jenkins side.

      If I update the PATH environment variable the change is not reflected in Jenkins. I tried following JENKINS-27739 however, no matter what I do Jenkins will not update its own (cached?) PATH environment variable.

      What I tried so far:

      • Restart both machines
      • Remove slave node from Jenkins.
        • Remove slave node
        • restart Jenkins (whole machine)
        • Add slave node
      • (Dis)connecting slave node
      • Marking slave node off/online

            Unassigned Unassigned
            daan_philips Daan Timmer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: