Skip to content
Permalink
Browse files
Merge pull request #15 from XitasoChris/master
Fix: MSBuild can now be in a path containing spaces (JENKINS-22461)
  • Loading branch information
gboissinot committed Jul 29, 2014
2 parents 635691a + f72edcd commit da904ff4b558ce6ca4ca14ada2eecc423a56d941
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 da904ff

Please sign in to comment.