Did you specify the path to sh on the file system in the shell area in the global configuration?
On Sat, Jul 2, 2016 at 12:37 PM Jonathan Hodgson <j.r.hodg...@gmail.com> wrote: > Hi, > > I have cygwin installed (and the cygpath plugin), and the slave seems to > find it, but it can't find the script that I assume is first generated by > the jenkins slave before calling sh. > > [C:\Jenkins\workspace\pipeline-test] Running shell script > sh: C:\Jenkins\workspace\pipeline-test@tmp\durable-313cd6e7\script.sh: > command not found > > > Is this something that anybody has working? > > > > -- > 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 jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/6ca18674-19a0-4681-ba28-64ed9f24a7b1%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/6ca18674-19a0-4681-ba28-64ed9f24a7b1%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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVf88kT7O9BRmphLGO0hF3trwf887aFf3yqDCYF0nA1d%3DQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.