Hi,

that option does not make much sense for a pipeline job. With each 'node() 
' you can specify a label or slave where this part of the pipeline should 
run. The main part (that does typically nothing that is computationally 
demanding) then runs on the master (in a fylweight executor actually).

See [1] as well.

Björn

[1]  https://groups.google.com/forum/#!topic/jenkinsci-users/FRfL4RHAYnk


Am Donnerstag, 6. Juli 2017 14:19:37 UTC+2 schrieb Kai:
>
> Hi,
>
> I have created a pipeline job in Jenkins but I don't see a "Restrict 
> where this project can be run" option.
>
> Is there a way to restrict pipeline jobs to run on specific slaves?
>
> Thanks
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/73285794-61ed-4f9d-a4a1-26a0e50705ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to