Thank you both.

Now I see that I can do something like this:

agent { label 'slaves' }

On Thursday, July 6, 2017 at 5:26:49 AM UTC-7, Richard Ginga wrote:
>
> Where a pipeline runs is defined within the pipeline script using "node" 
> blocks. the Jenkins master "runs" the pipeline.
>
> On Thu, Jul 6, 2017 at 8:19 AM, Kai <[email protected] <javascript:>> 
> wrote:
>
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/03d44fad-b6fe-4901-bb9a-b204b4c8aebe%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/03d44fad-b6fe-4901-bb9a-b204b4c8aebe%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Dick Ginga
> Build Engineer
> [email protected] <javascript:>
>
>

-- 
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/7fe18592-c35c-4392-883b-45b8d9f1c2b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to