You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by lewis john mcgibbney <le...@apache.org> on 2016/05/20 20:04:56 UTC
/bin/bash not found on Windows Slaves
Hi builds@,
I am struggling to establish a new build job [0] on the Windows slaves. I
get the following within the console log.
Can someone please help me understand what is going on and how I can
resolve the issue?
Thank you
Lewis
FATAL: command execution failedjava.io.IOException
<http://stacktrace.jenkins-ci.org/search?query=java.io.IOException>:
Cannot run program "/bin/bash" (in directory
"f:\jenkins\jenkins-slave\workspace\tika-2.x-windows"): CreateProcess
error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at hudson.Proc$LocalProc.<init>(Proc.java:244)
at hudson.Proc$LocalProc.<init>(Proc.java:216)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
at hudson.Launcher$ProcStarter.start(Launcher.java:381)
at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1148)
at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1113)
[0] https://builds.apache.org/view/Tika/job/tika-2.x-windows/4/console
--
` :
: , :
#+` . ,,` ,
` ;##` .`,. ;;;;;;':;`
`` ##@. ;.;: ,;+;;;';;';;';'`
```,###: .,;; +;;';;;;';;+;;;';;`
```#+##'``;+ '';;;';;;;';;';;;';;;`
```,##+#@:: ''';';;';+;;';;;;;;':::+:
```.#####'';';+;;';;;;;';';;';;';;':,;:
````'#+#+#';';''';;';;;;;';;';;';;;;;'::
;;:';,######''''''';'';;';';;'';;;'::';;;':.```
`.,;;;;`;;;+####+';'';;';';;;;';;';;;';;'::';;:;';;;::
:`,.,.`:;;;;';+#####+;;''';';;;;';';';;';;';;';;;'::;';:;.
.`..;,:`';;';';;;'+#####+';;''+';;';:';;;;';;';;;;;';;;':::;,:`
` ,`:. ;;;';';;;;;;;++#####+'';''';';;;;';;;;;;;;+;;';;';::';';;:..
` `` ;;;';';;;;;';';;'+#######+';';';;;;';;';;';;';;';;;';;',:;;;;.
` ` `;:;;';;;;;';';;;;;;;'########+;';';;';;';;';;';;'';;';;;;;';::;
`.;,:::;::;';';;;;;;;;;;'#####+####+'';;;;';;';;;'';+;;;;';:::''::;;..:
```:,'::,;';;;;;;;;;';;;';;;''##########+++'';;';;';;;'';;;;';;':,,,:.:,.`
```..::,;';:;;;;;';';';;;';';';';'''++###########+'+;';;;';;;';;:;.:..:..,
````,;;:;:;;;;;';';;;;;;;;;;;;;;;;';;;;';''++##########+++;;;;.:..:.,....;
`
`.``,,:,';;::;;::';';;;;;;;';';;';';;';';;';;';';';'++#+###@#++:...,,.;:.
`````:.';.,;;',,;;;';';;;;;;';;':;;;';';;';;';';';;';;;''.:,:.,:'#@'::,
```````.:,';;.::':';';',;;;';;':;;;;;';;';;';;;';;';'';;.;.,.:..,:.::
``````````:::',:;';;,:;;',:';';;':';;;;;';;;';;'::';;;,..,.,.,:+`
`````.````````.:'+:';;',;';,:;:';;;,,';::,';;',,';;.:.:;,````
``````````````````,.';;:':,;:;,,:;:::``````..````,:,``
````````````````````````````````````````:`;;`
`````````````````` : ,:`
http://people.apache.org/~lewismc || @hectorMcSpector ||
http://www.linkedin.com/in/lmcgibbney
Apache Gora V.P || Apache Nutch PMC || Apache Any23 V.P ||
Apache OODT PMC
Apache Open Climate Workbench PMC || Apache Tika PMC || Apache TAC
Apache Usergrid || Apache HTrace (incubating) || Apache CommonsRDF
(incubating)
Re: /bin/bash not found on Windows Slaves
Posted by Andrew Bayer <an...@gmail.com>.
Don't use a Shell Step? Use a Batch Step instead.
On Fri, May 20, 2016 at 1:04 PM, lewis john mcgibbney <le...@apache.org>
wrote:
> Hi builds@,
> I am struggling to establish a new build job [0] on the Windows slaves. I
> get the following within the console log.
> Can someone please help me understand what is going on and how I can
> resolve the issue?
> Thank you
> Lewis
>
> FATAL: command execution failedjava.io.IOException
> <http://stacktrace.jenkins-ci.org/search?query=java.io.IOException>:
> Cannot run program "/bin/bash" (in directory
> "f:\jenkins\jenkins-slave\workspace\tika-2.x-windows"): CreateProcess
> error=2, The system cannot find the file specified
> at java.lang.ProcessBuilder.start(Unknown Source)
> at hudson.Proc$LocalProc.<init>(Proc.java:244)
> at hudson.Proc$LocalProc.<init>(Proc.java:216)
> at hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
> at hudson.Launcher$ProcStarter.start(Launcher.java:381)
> at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1148)
> at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1113)
>
>
>
> [0] https://builds.apache.org/view/Tika/job/tika-2.x-windows/4/console
>
> --
>
> ` :
> : , :
> #+` . ,,` ,
> ` ;##` .`,. ;;;;;;':;`
> `` ##@. ;.;: ,;+;;;';;';;';'`
> ```,###: .,;; +;;';;;;';;+;;;';;`
> ```#+##'``;+ '';;;';;;;';;';;;';;;`
> ```,##+#@:: ''';';;';+;;';;;;;;':::+:
> ```.#####'';';+;;';;;;;';';;';;';;':,;:
> ````'#+#+#';';''';;';;;;;';;';;';;;;;'::
> ;;:';,######''''''';'';;';';;'';;;'::';;;':.```
> `.,;;;;`;;;+####+';'';;';';;;;';;';;;';;'::';;:;';;;::
> :`,.,.`:;;;;';+#####+;;''';';;;;';';';;';;';;';;;'::;';:;.
> .`..;,:`';;';';;;'+#####+';;''+';;';:';;;;';;';;;;;';;;':::;,:`
> ` ,`:. ;;;';';;;;;;;++#####+'';''';';;;;';;;;;;;;+;;';;';::';';;:..
> ` ``
> ;;;';';;;;;';';;'+#######+';';';;;;';;';;';;';;';;;';;',:;;;;.
> ` `
> `;:;;';;;;;';';;;;;;;'########+;';';;';;';;';;';;'';;';;;;;';::;
>
> `.;,:::;::;';';;;;;;;;;;'#####+####+'';;;;';;';;;'';+;;;;';:::''::;;..:
>
> ```:,'::,;';;;;;;;;;';;;';;;''##########+++'';;';;';;;'';;;;';;':,,,:.:,.`
>
> ```..::,;';:;;;;;';';';;;';';';';'''++###########+'+;';;;';;;';;:;.:..:..,
>
> ````,;;:;:;;;;;';';;;;;;;;;;;;;;;;';;;;';''++##########+++;;;;.:..:.,....;
> `
>
> `.``,,:,';;::;;::';';;;;;;;';';;';';;';';;';;';';';'++#+###@#++:...,,.;:.
>
> `````:.';.,;;',,;;;';';;;;;;';;':;;;';';;';;';';';;';;;''.:,:.,:'#@'::,
>
> ```````.:,';;.::':';';',;;;';;':;;;;;';;';;';;;';;';'';;.;.,.:..,:.::
>
> ``````````:::',:;';;,:;;',:';';;':';;;;;';;;';;'::';;;,..,.,.,:+`
>
> `````.````````.:'+:';;',;';,:;:';;;,,';::,';;',,';;.:.:;,````
>
> ``````````````````,.';;:':,;:;,,:;:::``````..````,:,``
>
> ````````````````````````````````````````:`;;`
>
> `````````````````` : ,:`
>
>
>
>
>
>
>
> http://people.apache.org/~lewismc || @hectorMcSpector ||
> http://www.linkedin.com/in/lmcgibbney
>
> Apache Gora V.P || Apache Nutch PMC || Apache Any23 V.P ||
> Apache OODT PMC
> Apache Open Climate Workbench PMC || Apache Tika PMC || Apache
> TAC
> Apache Usergrid || Apache HTrace (incubating) || Apache CommonsRDF
> (incubating)
>