Saturday, October 20, 2018

Jenkins Dynamic Slaves Setup - Quick Tip #3

Jenkins Dynamic Slaves Setup - Quick Tip #3

Welcome Guys!!!

Let us see the next tip with Reason, cause and resolution

Post the configuration of Dynamic EC2 slaves in Jenkins via the Amazon EC2 plugin, I could launch the Jenkins slave nodes based on AMI defined in configuration page but the slave node were getting terminated after some time and after some effort made out that the Key parameter in Amazon EC2 Plugin setup in Jenkins -> Manage Jenkins -> Configure System -> Add Cloud was actually missing

Let us see the error, which continously tried connection attempts via SSH but later terminated the instances once the timeout is reached


To set it right, the key missing parameter setting in Jenkins -> Manage Jenkins -> Configure Sytsem -> Add Cloud was 'Connect to SSH'. I know....Silly me !!! 

But sometimes we do miss simple things, dont we ???

So ideal setup screen should be something like 


Thats it for this tip !!! 

No comments:

Post a Comment