[JIRA] (JENKINS-39054) Shell interpreter doesn't work on windows when PATH to sh.exe contains a space
Title: Message Title Peter Vohmann commented on JENKINS-39054 Re: Shell interpreter doesn't work on windows when PATH to sh.exe contains a space I am using Git for Windows and Shell scripts exactly as expected above. This is on Windows 7 Pro + Windows 10, Java SE 8, on Jenkins master and agent nodes. It works. sh.exe is located through PATH, no further Jenkins configuration required. Known limitations: Add "c:\Program Files\Git\bin" to System Path, then reboot. Software updates can remove "c:\Program Files\Git\bin" from the search path. For pipelines, nohup.exe must be on the path, as in JENKINS-33708. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39054) Shell interpreter doesn't work on windows when PATH to sh.exe contains a space
Title: Message Title Oleg Nenashev assigned an issue to Unassigned Jenkins / JENKINS-39054 Shell interpreter doesn't work on windows when PATH to sh.exe contains a space Change By: Oleg Nenashev Assignee: Kohsuke Kawaguchi Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39054) Shell interpreter doesn't work on windows when PATH to sh.exe contains a space
Title: Message Title Oleg Nenashev updated an issue Jenkins / JENKINS-39054 Shell interpreter doesn't work on windows when PATH to sh.exe contains a space Change By: Oleg Nenashev Component/s: windows-slaves-plugin Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39054) Shell interpreter doesn't work on windows when PATH to sh.exe contains a space
Title: Message Title Oleg Nenashev commented on JENKINS-39054 Re: Shell interpreter doesn't work on windows when PATH to sh.exe contains a space Likely we should close that as Incomplete Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39054) Shell interpreter doesn't work on windows when PATH to sh.exe contains a space
Title: Message Title Oleg Nenashev commented on JENKINS-39054 Re: Shell interpreter doesn't work on windows when PATH to sh.exe contains a space ping Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39054) Shell interpreter doesn't work on windows when PATH to sh.exe contains a space
Title: Message Title Daniel Beck commented on JENKINS-39054 Re: Shell interpreter doesn't work on windows when PATH to sh.exe contains a space Which Java version is this? I think there was a security update 1-2 years ago that changed the behavior here and broke a lot of applications relying on this. For the time being, would Progra~1 or whatever it is be a pragmatic workaround? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39054) Shell interpreter doesn't work on windows when PATH to sh.exe contains a space
Title: Message Title adrian_ updated an issue Jenkins / JENKINS-39054 Shell interpreter doesn't work on windows when PATH to sh.exe contains a space Change By: adrian_ The sh.exe can't be found within the PATH when it is installed within a folder containing a space.For instance: * Install Git for Windows** Default path will be c:\Program Files\Git\* Add c:\Program Files\Git\bin to your PATH* Create a job which should executing execute some shell Error will be{code}java.io.IOException: Cannot run program "sh" (in directory "C:\PATH_TO_JENKINS_JOB"): CreateProcess error=2, Das System kann die angegebene Datei nicht finden{code}Changing the path to something with a space works. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit
[JIRA] (JENKINS-39054) Shell interpreter doesn't work on windows when PATH to sh.exe contains a space
Title: Message Title adrian_ updated an issue Jenkins / JENKINS-39054 Shell interpreter doesn't work on windows when PATH to sh.exe contains a space Change By: adrian_ Issue Type: Improvement Bug Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39054) Shell interpreter doesn't work on windows when PATH to sh.exe contains a space
Title: Message Title adrian_ created an issue Jenkins / JENKINS-39054 Shell interpreter doesn't work on windows when PATH to sh.exe contains a space Issue Type: Improvement Assignee: Kohsuke Kawaguchi Components: core, windows-slaves-plugin Created: 2016/Oct/18 9:35 AM Labels: Windows Shellscript Priority: Minor Reporter: adrian_ The sh.exe can't be found within the PATH when it is installed within a folder containing a space. For instance: Install Git for Windows Default path will be c:\Program Files\Git\ Add c:\Program Files\Git\bin to your PATH Create a job which should executing some shell Error will be java.io.IOException: Cannot run program "sh" (in directory "C:\PATH_TO_JENKINS_JOB"): CreateProcess error=2, Das System kann die angegebene Datei nicht finden Changing the path to something with a space works.