Status: Closed (View Workflow)
After updating the plugin I can no longer provision EC2 machines.
It connects with success but it fails with
"Could not find /init.sh"
I've fixed by reverting to previous version.
- is duplicated by
JENKINS-26559 EC2 slaves not connecting
> yes, it should probably handle the empty temp dir better
+1 on that hunch.
So, https://github.com/francisu/ec2-plugin/commit/716497f3df642a3e0df097ce05364213179bbb88 is a commit which introduce breakage. Specific line with the issue appers to be: https://github.com/francisu/ec2-plugin/commit/716497f3df642a3e0df097ce05364213179bbb88#diff-634d86776ce3255b6bbd6d5eacf0680aR105 , and the issue is that ".tmpDir != null" construct should be "fixEmpty(....tmpDir) != null" (possibly, fixEmptyAndTrim()).
@Francis Upton : Please let everyone know if you're working on fixing this critical issue and on driving 1.26 release with the fix ASAP, or if you expect someone else to do that (or something else). Thanks.
Code changed in jenkins
User: Francis Upton IV
JENKINS-26531 Slave does not start if the temp dir is not set to
anything after upgrade to 1.25
Thumbs up, thanks for quick turnaround. Confirming that upgrading from 1.24 directly to 1.26 works as expected, without any additional actions.
Thank you @Francis and sorry the delay. Great job BTW.