Jenkins 2: where did "Restrict where this job can be run" go?

1,289 views
Skip to first unread message

Jennifer Hofmeister

unread,
Jun 9, 2016, 7:01:51 AM6/9/16
to jenkins...@googlegroups.com

Hello,

 

I’m setting up a new Jenkins 2.8, having formerly worked with 1.651. However, in my new freestyle job’s configuration, I can’t seem to find the node/label restriction setter (<assignedNode>).

 

I installed the Node and Label parameter plugin, restarted Jenkins, but still, nothing to see in my job config. Come to think of it, I don’t think it used to be an extra plugin in former versions.

 

If I’m overlooking something, can someone tell me where to find this setting?

 

Thanks,

Jennifer

Lars.M...@edict.de

unread,
Jun 9, 2016, 7:19:04 AM6/9/16
to jenkins...@googlegroups.com
This is now handled in each node step:
https://jenkins.io/doc/pipeline/steps/workflow-durable-task-step/#node-allocate-node
label
Computer name, label name, or any other label expression like linux && 64bit to restrict where this step builds. May be left blank, in which case any available executor is taken.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/CAA587D532C45541B62417404F1D22030E882053%40you-exch1.younicos.local.
For more options, visit
https://groups.google.com/d/optout.

Daniel Beck

unread,
Jun 9, 2016, 7:35:18 AM6/9/16
to jenkins...@googlegroups.com

> On 09.06.2016, at 13:18, Lars.M...@edict.de wrote:
>
> However, in my new freestyle job’s configuration, I can’t seem to find the node/label restriction setter (<assignedNode>).

If you have no agents configured, this part of the configuration is hidden.

Reply all
Reply to author
Forward
0 new messages