Skip to content

Commit

Permalink
Merge pull request #24 from jtnord/jenkins-34150
Browse files Browse the repository at this point in the history
[FIXED JENKINS-34150] Fixes my observed issue.
  • Loading branch information
jglick committed May 19, 2016
2 parents 0f09bb5 + d156ebf commit 8a2537c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -54,7 +54,7 @@ public String getScript() {
}
BatchController c = new BatchController(ws);

c.getBatchFile1(ws).write(String.format("cmd /c \"\"%s\"\" > \"%s\" 2>&1\r\necho %%ERRORLEVEL%% > \"%s\"\r\n",
c.getBatchFile1(ws).write(String.format("@echo off \r\ncmd /c \"\"%s\"\" > \"%s\" 2>&1\r\necho %%ERRORLEVEL%% > \"%s\"\r\n",
c.getBatchFile2(ws).getRemote().replace("%", "%%"),
c.getLogFile(ws).getRemote().replace("%", "%%"),
c.getResultFile(ws).getRemote().replace("%", "%%")
Expand Down

0 comments on commit 8a2537c

Please sign in to comment.