Skip to content
Permalink
Browse files
[JENKINS-47331] Problem with leading spaces in slaveCommandPrefix (#247)
  • Loading branch information
Francis Upton IV committed Jan 8, 2018
1 parent 55aab3f commit 8dceeef40efbbe4e08c73061b00f885105e70fed
Showing 1 changed file with 1 addition and 0 deletions.
@@ -192,6 +192,7 @@ protected void launch(EC2Computer computer, TaskListener listener, Instance inst
String jvmopts = computer.getNode().jvmopts;
String prefix = computer.getSlaveCommandPrefix();
String launchString = prefix + " java " + (jvmopts != null ? jvmopts : "") + " -jar " + tmpDir + "/slave.jar";
launchString = launchString.trim();

SlaveTemplate slaveTemplate = computer.getSlaveTemplate();

0 comments on commit 8dceeef

Please sign in to comment.