The following code was working with 2.41 ( maybe it was 2.40 )
node("master") {
sh 'ls'
}
I get the following error
Running on master in /scratch/mach5-j/jenkins/jobs/sh issue/workspace[Pipeline]
{[Pipeline] sh[workspace] Running shell script
nohup: failed to run command ‘sh’: No such file or directory[Pipeline]
}[Pipeline] // node[Pipeline] End of PipelineERROR: script returned exit code
-2Finished <http://stacktrace.jenkins-ci.org/search?query=Finished>: FAILURE
--
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/0efa3b66-819c-4f55-a01b-c64cdea7da72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.