Disable 'Build' button when there is one item in a list

17 views
Skip to first unread message

samya...@gmail.com

unread,
Jan 3, 2019, 2:19:33 PM1/3/19
to Jenkins Users
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!

  
 
build.PNG

Bassam Khouri

unread,
Jan 3, 2019, 2:51:41 PM1/3/19
to jenkins...@googlegroups.com
To disable the "Build" button, you need to disable the Job. this way, a Jenkins user will not be able to trigger a build.


--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f4c224dc-c9e1-412b-ac45-cab9242cabb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages