I downgraded the following plugins, jenkins claimed that i did not need to 
restart so I didn't and tested each individually, the code below still 
failed. So I rebooted at the end and it worked so another bug.  I am not 
sure if one or more than one need to be downgraded. Some of the downgrades 
may not be needed.

<https://lh3.googleusercontent.com/-0UqZPzDfxCY/WIoA9ZJNQ2I/AAAAAAAACnc/91fvXPCnJZ00NIaE3u0iI2u0OSt5KrJAQCLcB/s1600/Screen%2BShot%2B2017-01-26%2Bat%2B8.55.30%2BAM.png>
This failure may indicates that there is very basic test missing from 
Jenkins CI. If I could find the code I would look to see where the test to 
verify that sh works on some set of target platforms.


On Wednesday, January 25, 2017 at 5:30:07 PM UTC-5, Rinaldo DiGiorgio wrote:
>
> 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/f4a9a4b4-b489-4da3-8ec6-eab5f673023e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to