After getting the use-case, +1 from me on Job Restrictions. I've designed it for such use-cases.
среда, 16 марта 2016 г., 16:15:26 UTC+1 пользователь Dominik Bartholdi написал: > > You can define some restrictions on where a job is allowed to be executed > with this > https://wiki.jenkins-ci.org/display/JENKINS/Job+Restrictions+Plugin > /Domi > > On 16 Mar 2016, at 16:12, Brian Stinson <[email protected] <javascript:>> > wrote: > > 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] <javascript:>. > 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. > > > -- 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/2f8f1ada-c0dc-46ec-820c-2af3d83654f7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
