Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #35 from Vlatombe/JENKINS-31166
[JENKINS-31166] Extra quotes messes up with environment variables content
  • Loading branch information
Vlatombe committed Oct 27, 2015
2 parents 493ec0d + fff2c4f commit 8912bbd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -305,7 +305,7 @@ public void executeIn(String container, String userId, Launcher.ProcStarter star

// Build a list of environment, hidding node's one
for (Map.Entry<String, String> e : environment.entrySet()) {
prefix.add(e.getKey()+"=\""+e.getValue()+'\"');
prefix.add(e.getKey()+"="+e.getValue());
}

starter.cmds().addAll(0, prefix);
Expand Down

0 comments on commit 8912bbd

Please sign in to comment.