-
Notifications
You must be signed in to change notification settings - Fork 325
dockerContainer should be pinned to a label (group) of hosts #1155
Copy link
Copy link
Open
Description
What feature do you want to see added?
pipeline { agent { dockerContainer { image "ubuntu:jammy-20250530" label "linux" } } .... }
Invalid config option "label" for agent type "dockerContainer". Valid config options are [image, connector, credentialsId, dockerHost, remoteFs] @ line 5, column 13.
In a setup where jenkins' can dispatch jobs on a mix of nodes, either windows, linux, etc. The ubuntu images only run on hosts which is backed by Linux & dockerd.
Obviously, using the "label" => "linux" isn't supported. Can I be assured that the dockerContainer would run on any of my Linux hosts in this setup?
Upstream changes
No response
Are you interested in contributing this feature?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for Enhancement.