The git bash shell installed on Windows is not supported (or tested) as a Jenkins global configuration shell.
Jenkins in general assumes that the term "shell" is used on Unix-like environments (Linux, FreeBSD, OpenBSD, Solaris, HP-UX, etc.), not on Windows. Windows environments should use the Windows command processor. Mark Waite On Tue, Jul 4, 2017 at 7:21 AM 江南 <[email protected]> wrote: > > > favorite > <https://sqa.stackexchange.com/questions/28272/jenkins-unexpected-eof-while-looking-for-matching-build-step-execute-shel#> > > I have specified C:\Program Files\Git\bin\sh.exe in the Jenkins Global > Configuration Shell. And following is my command to run the cucumber feature > > pwd > cd C:\"Test folders" > pwd > bundle exec cucumber features\test.feature > > > when I click on Build Now the test failed and I am > seeing the following error can someone please tell me what went wrong? > Thanks > > unexpected EOF while looking for matching `"' Build step 'Execute > shell' marked build as 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/7583294d-3915-4d20-889b-e9e0864c0eab%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/7583294d-3915-4d20-889b-e9e0864c0eab%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHfnhx%2Bm4V3SAVFBHJw2Xdn6-v9JnoVSMQhzAkvy68SqA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
