jenkinsaws-ecsaws-fargate

Jenkins workers on AWS ECS Fargate: run a few jobs in parallel


I have AWS ECS cluster in Fargate mode for Jenkins workers (slaves) only.

Cluster consists of one Service called jenkins which has Desired tasks value set to 5

But when I start a few jobs which have the same label they're queued up instead of execute in parallel.

How parallel execution can be set?


Solution

  • The problem was related to the Fargate speed - next job is queued in 2-3 minutes, so if jobs are very fast they aren't queued properly.