Skip to content
Permalink
Browse files
[JENKINS-31166] Extra quotes messes up with environment variables
content
  • Loading branch information
Vlatombe committed Oct 27, 2015
1 parent 493ec0d commit fff2c4f3205cb5cb1942c0764ebef819bc8f40df
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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);

0 comments on commit fff2c4f

Please sign in to comment.