Hi Jonathan,

did you ever resolve this issue? I have the same problem.

Cheers,

Kad

On Sunday, July 3, 2016 at 10:32:34 AM UTC+10, Jonathan Hodgson wrote:
>
> No, it's in my path though. And from what I can see it finds cygwin ok, 
> it's the generated shel script it doesn't find.
>
> I've avoided setting it in the global configuration because it isn't 
> global, my linux and osx machines have different locations for sh compared 
> to the windows one.
>
> On Saturday, July 2, 2016 at 11:50:38 PM UTC+1, slide wrote:
>>
>> 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.h...@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-use...@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/2c652a4e-a353-440a-bb9d-444eeb4661a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to