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: retry transient ECS task launch failures #316

Closed wenduwan closed 1 year ago

wenduwan commented 1 year ago

This patch introduces a retry mechanism that improves the robustness of task launch. A common scenario is elastic network interface provisioning timeout.

Currently the task will be retried once at most, and the total launch time is capped at slaveTimeoutInSeconds.

wenduwan commented 1 year ago

Hi team I would appreciate your review and critique.