Skip to content
Permalink
Browse files
fix: msbuild can now be in a path containing spaces (fix provided via…
… comment on JENKINS-22461 by Thorsten Bojer)
  • Loading branch information
Christopher Gross committed Jul 29, 2014
1 parent 635691a commit f72edcd8642832542c807db4939ec7c5bbab1a27
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/hudson/plugins/msbuild/MsBuildBuilder.java
@@ -168,8 +168,8 @@ public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListen
}

if (!launcher.isUnix()) {
args.prepend("cmd.exe", "/C");
args.add("&&", "exit", "%%ERRORLEVEL%%");
args.prepend("cmd.exe", "/C", "\"");
args.add("\"", "&&", "exit", "%%ERRORLEVEL%%");
}

try {

0 comments on commit f72edcd

Please sign in to comment.