To disable the "Build" button, you need to disable the Job. this way, a Jenkins user will not be able to trigger a build.
On Thu, Jan 3, 2019 at 2:19 PM <[email protected]> wrote: > I have few Jenkins job which builds with parameters. > Parameters are like Dev, Val and Prod. > > Few jobs has only one parameter like Dev or Val or Prod. In these cases I > would like to disable the Build button. > > The Build button must be active only if all three parameters exists in the > job. > > Attached screenshot of it. > > Help is appreciated. > > 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/f4c224dc-c9e1-412b-ac45-cab9242cabb6%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/f4c224dc-c9e1-412b-ac45-cab9242cabb6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAPeymofMuN6XJXdL6BNVZSXZb%2BoArOHvkCfBcUa4jbSJg7jSkw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
