Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
The code that gets the slave template in EC2UnixLauncher just took the first one, rather than finding the one that belongs to the node being launched.
Code changed in jenkins
User: Francis Upton IV
Path:
src/main/java/hudson/plugins/ec2/EC2AbstractSlave.java
src/main/java/hudson/plugins/ec2/EC2Cloud.java
src/main/java/hudson/plugins/ec2/EC2Computer.java
src/main/java/hudson/plugins/ec2/EC2ComputerLauncher.java
src/main/java/hudson/plugins/ec2/ssh/EC2UnixLauncher.java
http://jenkins-ci.org/commit/ec2-plugin/86f1defc1edb6c85f6e0a1ab99c969e875148f72
Log:
JENKINS-32439Incorrect slave template (AMI) found when launching slaveJENKINS-30284EC2 plugin too aggressive in timing in contacting new AWS instance over SSH (parameterized timeouts, added logging)