-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
In our current environment we have agents that are launched by the ec2-plugin that build individual Ivy/Maven Module builds. These module builds must build on the same node as their parent.
In the event that their parent node is terminated then the module can no longer be built.
To solve this in our environment we have made a small change to the EC2RetentionStrategy class that will check for items in the queue just prior to termination.
We have been using this change on multiple versions of the ec2-plugin for the last 6 years.
Most recently we have been running this change with ec2-plugin version 1.56, jenkins version 2.277.1