Closed squalou closed 1 year ago
The exception seems to come from
if (displayName == null || future == null || numExecutors < 1) throw new IllegalArgumentException();
from the code changes introduced in 1.45, could be numExecutors taht would not be set to its default value (1) after plugin migration ? No idea and no way to test it easily.
1.47 is the latest version and addresses this.
I'll give it a try. I'm a bit surprised since I tried to upgrade all the plugins 2 days ago, so the 1.47 should have been pulled. Anyway, will try asap and see what happens.
Hi, this is what I get after mifration 1.41->1.47
I manually set 1 there instead of zero and it works.
(Maybe something went wrong at my first attempt causing this situation now, anyway it's fixed on my setup, and hard to reproduce probably)
I have just bumped into the same issue, going from 1.41 -> 1.47. Updating the executors to 1 fixed the issue.
Jenkins and plugins versions report
see https://github.com/jenkinsci/amazon-ecs-plugin/issues/298
What Operating System are you using (both controller, and any agents involved in the problem)?
linux x68_64
Reproduction steps
Try to start a new jenkins agent using ecs-cloud plugin. Configure properly Ecs agent templates form.
Expected Results
Agent gets provisioned
Actual Results
Anything else?
rollback to 1.41 as a workaround