Disable running build if an option is selected from drop down parameter.
I have a build which has a drop down prompt parameter. I have added 'Choose' option as first option to inform user to select. Is there any way to disable the Run build button when 'Choose' is selected.
OR
If we can't do that, can we fail build if started with 'Choose' option?

Please sign in to leave a comment.
Hi Nikhil,
Failing should be rather simple. Run a script as the first build step, check for the value, and fail the step if it equals Choose.
Disabling Run is not currently an option, the usual case is solved by providing an appropriate default. Mistakenly started builds can be canceled later on.