-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Prod
EC2-Fleet Plugin assigns the instance_id with the name and does not actually provide the label when evaluated from "Role-Strategy" plugin.
I have a agent labeled as "nonprodslave2" and assigned certain users to be able to build on that agent by putting "nonprodslave*." as the label expression. However when I logged in as the user and tried to invoke the job I got this error
"Jenkins’ doesn’t have label ‘nonprodslave2’; ‘user2’ lacks permission to run on ‘nonprodslave2 i-07f************6e’"
But When I looked at Jenkins --> Manage Jenkins --> Manage Nodes I could see the labels are assigned as "nonprodslave2". Somehow some attribute is exposing the label as "nonprodslave2 i-07f************6e" causing this issue.