Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge remote-tracking branch 'remotes/origin/master' into JENKINS-48182
  • Loading branch information
francisu committed Nov 23, 2017
2 parents c122a4b + ad22870 commit 2ec666e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/hudson/plugins/ec2/ssh/EC2UnixLauncher.java
Expand Up @@ -181,10 +181,6 @@ protected void launch(EC2Computer computer, TaskListener listener, Instance inst
sess.close();
}

int retryCount = 0;
int retryTimes = 3;
String command;

// TODO: parse the version number. maven-enforcer-plugin might help
executeRemote(computer, conn, "java -fullversion", "sudo yum install -y java-1.8.0-openjdk.x86_64", logger, listener);
executeRemote(computer, conn, "which scp", "sudo yum install -y openssh-clients", logger, listener);
Expand Down

0 comments on commit 2ec666e

Please sign in to comment.