Re: Pipeline PATH problems (seems related to JENKINS-41339)

2017-06-18 Thread Andreas Magnusson
Managed to find something on stackoverflow which pointed me in the right direction. Apparently we had a really OLD override to PATH defined in our System configuration which I didn't know about. Removing that fixed the problem. Perhaps the plugin writing out the error could give a short hint tow

Pipeline PATH problems (seems related to JENKINS-41339)

2017-06-18 Thread Andreas Magnusson
After an upgrade of my Jenkins installation (2.65 and all plugins updated) I cannot for my life get the 'sh' command to work. This is my mini example: node('linux') { sh 'echo $PATH' } and this is the output: Started by user anonymous [Pipeline] nodeRunnin