Skip to content

Commit

Permalink
JENKINS-47331 Fails to launch from configurations before the specific…
Browse files Browse the repository at this point in the history
…ation of prefixString
  • Loading branch information
francisu committed Nov 23, 2017
1 parent 2ec666e commit 8a83214
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/hudson/plugins/ec2/ssh/EC2UnixLauncher.java
Expand Up @@ -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();

Expand Down

0 comments on commit 8a83214

Please sign in to comment.