Hi Jennifer, I've tried it as the service, the JNLP, and the java command line. All of which yielded the same results. I also did try restarting the service.
Thanks, VJ On Monday, April 27, 2015 at 5:57:23 AM UTC-7, Jennifer Hofmeister wrote: > > Hi Varun, > > > > Does the slave run as a service? If not, it will probably just read the > Jenkins service’s old PATH in case that one was not restarted after > manipulation. > > > > Best, > > > > Jennifer > > > > *From:* [email protected] <javascript:> [mailto: > [email protected] <javascript:>] *On Behalf Of *Varun Jain > *Sent:* Samstag, 25. April 2015 00:41 > *To:* [email protected] <javascript:> > *Subject:* Jenkins 1.607 - Environment Variables Stuck > > > > Hey everyone. > > > > I'm facing an issue where the environment variables seem stuck and > un-updating when running tasks via Jenkins on Windows Slaves. Here are the > steps I do to reproduce, and resolve the problem > > 1. Create new Node and set JUST the home directory > > 2. Run job with just "echo %PATH%" > > 3. Modify PATH, restart Jenkins Slave > > 4. Echo PATH via command line, outputs as the correct NEW Path > > 5. Run job with jenkins. OLD path is output > > > > Resolution: > > Delete and recreate slave > > > > Thanks, > > VJ > > -- > 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 [email protected] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/3153e714-ee64-490c-b65e-c31812e76864%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-users/3153e714-ee64-490c-b65e-c31812e76864%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c1c996d1-4b83-4f1a-8967-7083bda91042%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
