Fixed in 1.601. http://jenkins-ci.org/changelog#v1.601
On 23.03.2015, at 19:16, Wilkin, Daniel V CIV NAVSAFECEN, 53D <daniel.wil...@navy.mil> wrote: > We're running Jenkins 1.600 and currently are experiencing an anomaly that > pre-pends the configured JDK installation dir to the PATH environment > variable used by all Jobs in Jenkins. The prepend occurs once every job run, > as well as perhaps with each plugin that reviews results of a build (we have > in the neighborhood of 7 plugins). I have a generic Job that simply executes > the command, 'set' and dumps the results (the environment for the build) to > the console. Each build of this Job makes 1 prepend of > 'D:\Java\JDK160\bin/;' to the PATH variable. Running a job associated with > an Ant script prepends about 7 or 8 JDK install dir entries to the PATH used > by all the Jobs. After so many builds, the path variable reaches max limit > and is filled with all JDK install dir entries and builds fail because it > can't find the Ant install dir (which was in the Path to begin with). > > Jenkins is running on Tomcat 7 and bouncing Tomcat resets the Path variable > used by Jobs. Visiting the jenkins/systemInfo page always shows the path is > unaltered from the System Path (correctly). Our Tomcat runs as System and > the JDK is included in the System's Path environment variable. The JDK > install is also properly configured on the jenkins/configure page. > > What can I do to turn off the auto-pre-pending of the JDK install dir to the > path when a Job is run, short of bouncing Tomcat each time the path gets > clobbered by JDK install dir entries? > > Regards, > Dan Wilkin > Naval Safety Center > --- > This e-mail, including any accompanying documents or attachments, is intended > only for the named recipient(s) and may contain information that is privacy > sensitive. Any misuse or unauthorized disclosure of privacy sensitive > information may result in civil and/or criminal penalties. The Privacy Act > of 1974 (as amended) 5 U.S.C. 552a and SECNAVINST 5211.5E apply. If you have > received this message in error or are not the named recipient(s), please > immediately notify the sender and delete this message from your computer. > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/F2978772C2566E4F8C5F3B3DFB2E0B8004989F39%40NAEANRFKXM11V.nadsusea.nads.navy.mil. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/C9796EDD-6309-40D0-A29B-719D63A29F8B%40beckweb.net. For more options, visit https://groups.google.com/d/optout.