EC2 Node with job lost during master restart with maxTotalUses

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I have a build running on an ec2 slave (with maxTotalUses set to 1).Ā 

      Then jenkins master is restarted.Ā 

      When the jenkins master comes back up it reconnects the node then disposes of them becauseĀ EC2RetentionStrategy#taskAccepted: maxTotalUses drained - suspending agent i-xxxx, but it should not because these nodes are still in use with the previous build.

            Assignee:
            FABRIZIO MANFREDI
            Reporter:
            Nigel Armstrong
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: