Pipeline problem after upgrading

179 views
Skip to first unread message

Guy Knights

unread,
Feb 2, 2017, 7:27:42 PM2/2/17
to jenkins...@googlegroups.com
I upgraded some of my pipeline plugins (there were some groovy module upgrades I believe, unfortunately I don't have a list of what was upgraded) and suddenly my build pipelines no longer work and are throwing the following error:

Running on master in /var/jenkins_home/jobs/Project1/jobs/API - Deploy/workspace
[Pipeline] {
[Pipeline] sh
[workspace] Running shell script
nohup: failed to run command ‘sh’: No such file or directory
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] End of Pipeline
ERROR: script returned exit code -2
Finished: FAILURE

Does anyone know why?

Thanks,
Guy

Sam K

unread,
Feb 3, 2017, 1:42:53 AM2/3/17
to Jenkins Users
Yeah, we need to see the code to tell what's wrong with the syntax.  Which version were you before the upgrade?  And is it now at the latest as of this writing?  

Guy Knights

unread,
Feb 3, 2017, 1:51:20 PM2/3/17
to jenkins...@googlegroups.com
I just found this jira ticket: https://issues.jenkins-ci.org/browse/JENKINS-41339. Using the PATH+EXTENSION=/extension syntax in my System config -> Environment Variables fixed the problem for me.
Reply all
Reply to author
Forward
0 new messages