Hi all,

I want to limit in which slave a job can be built.

However, I don't want to let 'job creators' that choice as I will not trust 
them.

So, I want to limit in which slave a job can be built but having that 
limitation outside the job options.


I have thought about three approaches:

a) Select in which slave a job can be built based on the job name (as far 
as I can control the job name) instead of the job label.

 

b) When I save a job, check the options and change the label based on the 
job name.

 

c) Before a job is run, compare the job name and label and if they are not 
matching not run the job. 



Could you help me with one of these approaches? Do you know any other?

Thanks in advance. 

-- 
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/55dcc8a4-0718-41b0-8deb-627cc50e188c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to