Skip to content
Permalink
Browse files

Fix JENKINS-21585 and JENKINS-18652

  • Loading branch information...
gboissinot committed Aug 23, 2014
1 parent bdec2df commit 2d0e7f3e3ddd6eef5ae2886067ba1258eb811efb
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/main/java/hudson/plugins/msbuild/MsBuildBuilder.java
@@ -9,7 +9,6 @@
import org.kohsuke.stapler.DataBoundConstructor;

import java.io.IOException;
import java.net.URLEncoder;
import java.util.Map;

/**
@@ -138,8 +137,7 @@ public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListen
StringBuffer parameters = new StringBuffer();
parameters.append("/p:");
for (Map.Entry<String, String> entry : variables.entrySet()) {
String value = URLEncoder.encode(entry.getValue(), "UTF-8");
parameters.append(entry.getKey()).append("=").append(value).append(";");
parameters.append(entry.getKey()).append("=").append(entry.getValue()).append(";");
}
parameters.delete(parameters.length() - 1, parameters.length());
args.add(parameters.toString());

0 comments on commit 2d0e7f3

Please sign in to comment.
You can’t perform that action at this time.