On Mar 16 07:40, Oleg Nenashev wrote:
> Hi,
> 
> AFAIK there is no feature in Jenkins core allowing to hide it. I doubt you 
> can solve it via plugin.
> Could you clarify the use-case?
> 
>    - Why do you want to hide it? 
>    - What behavior do you expect from Jenkins scheduler when it's hidden?
> 
> In any case, you can hide the control using siome Javascript code in 
> SimpleThemePlugin.
> 
> 
> BR, Oleg
> 
> среда, 16 марта 2016 г., 12:31:31 UTC+1 пользователь rahul gupta написал:
> >
> >
> > Hi Team,
> >
> >  
> >
> > I am new to this group but using Jenkins from last many years. I need one 
> > help/suggestion before I start writing own Jenkins Plug-in.
> >
> >  
> >
> > *Issue:*
> >
> >  
> >
> > On Every Jenkins job configuration, we have option "Restrict where this 
> > project can be run". I don't want this option visible to the developers who 
> > configure.
> >
> > I couldn’t find any alternate so planning to write own plugin.
> >
> >  
> >
> > Kindly suggest.
> >
> >  
> >
> > Kr,
> >
> > Rahul
> >
> >
> >
> >

I can think of a use-case where you would want to administratively set
the labels based on username/group in a multi-tenant installation.

Example:
jobs created by users in the 'project1' group always get routed to the
'project1' label

Cheers!

--Brian 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" 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-dev/20160316151211.GI27133%40ender.bstinson.lan.
For more options, visit https://groups.google.com/d/optout.

Reply via email to