jenkinsci / amazon-ecs-plugin

Amazon EC2 Container Service Plugin for Jenkins
https://plugins.jenkins.io/amazon-ecs
MIT License
192 stars 227 forks source link

amazon-ecs plugin: terminate unsurvivable node to fast fail execution #313

Closed wenduwan closed 1 year ago

wenduwan commented 1 year ago

This patch introduces ECSComputerListener and provides an onOffline event hook, which terminates the node if it is in an "unsurvivable" state. This enables the user execution to fast fail if the ECS task is killed, e.g. due to OOM error.

wenduwan commented 1 year ago

Hi I'm a little lost about the CI failure - is it caused by a test failure?

lemeurherve commented 1 year ago

Hi I'm a little lost about the CI failure - is it caused by a test failure?

It's unrelated. We had to empty ci.jenkins.io builds queue unfortunately, see https://github.com/jenkins-infra/helpdesk/issues/3474#issuecomment-1488838514

I'm restarting your build.

wenduwan commented 1 year ago

It's unrelated. We had to empty ci.jenkins.io builds queue unfortunately, see jenkins-infra/helpdesk#3474 (comment)

I'm restarting your build.

Thank you!