-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: All
Create an ant build and it works fine on master.
the output is as follows...
[ProjectName] $ cmd.exe /C ant.bat publish
but tie this build to a slave the output becomes
[ProjectName] $ ant publish
And the error stack trace...
FATAL: command execution failed
java.io.IOException: CreateProcess: ant publish
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at hudson.Proc$LocalProc.<init>(Proc.java:79)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:167)
at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:251)
at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:235)
at hudson.remoting.UserRequest.perform(UserRequest.java:57)
at hudson.remoting.UserRequest.perform(UserRequest.java:22)
at hudson.remoting.Request$2.run(Request.java:178)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
If you attempt to do Runtime.getRuntime.exec("ant publish"); you get the same
issue. For some reason the ant invocation is not generating as ant.bat which is
what it needs to be generated as.
[JENKINS-631] Improve slave Unix/Windows detection and perform error check
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JNJira [ 130704 ] | New: JNJira + In-Review [ 200049 ] |
What's the "remote FS root" value of this slave?
If you don't understand what I'm saying, please send me your $HUDSON_HOME/config.xml