Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-69399

Prevent offlining ec2 node if jobs in node queue

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ec2-plugin
    • 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

            thoulen FABRIZIO MANFREDI
            grogersxyz Geordie Rogers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: