Skip to content

Commit

Permalink
[FIXED JENKINS-25678] Quote arguments in case we are running in a dir…
Browse files Browse the repository at this point in the history
…ectory whose name contains spaces.
  • Loading branch information
jglick committed Mar 5, 2015
1 parent bf5101c commit 1a937ee
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -52,7 +52,7 @@ public String getScript() {
}
BatchController c = new BatchController(ws);

c.getBatchFile1(ws).write(String.format("call %s > %s 2>&1\r\necho %%ERRORLEVEL%% > %s\r\n",
c.getBatchFile1(ws).write(String.format("call \"%s\" > \"%s\" 2>&1\r\necho %%ERRORLEVEL%% > \"%s\"\r\n",
c.getBatchFile2(ws),
c.getLogFile(ws),
c.getResultFile(ws)
Expand Down

0 comments on commit 1a937ee

Please sign in to comment.