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

661 Views Asked by At

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?

1

There are 1 best solutions below

0
On BEST ANSWER

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.