Quantcast

Is it possible to remove the build button/link for downstream jobs

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Is it possible to remove the build button/link for downstream jobs

Jan Seidel-2
Hi there,

simple thing. We have some build pipelines and I don't want that some distracted user hits the build button of downstream jobs as they need parameters passed.
Running a job without parameters may spoil the workspace.
I don't want to use security settings or similar stuff for this if possible as the effort to achieve it this way is quite complex in our case.

Cheers
Jan
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Is it possible to remove the build button/link for downstream jobs

Sami Tikka
It is not possible. (Well, technically it is possible for you to implement that and contribute it to Jenkins.)

Make the build parameters have sensible default values or a clearly invalid default value and check in the build script if a valid value had been passed.

-- Sami

Jan Seidel <[hidden email]> kirjoitti 20.7.2012 kello 18.43:

> Hi there,
>
> simple thing. We have some build pipelines and I don't want that some distracted user hits the build button of downstream jobs as they need parameters passed.
> Running a job without parameters may spoil the workspace.
> I don't want to use security settings or similar stuff for this if possible as the effort to achieve it this way is quite complex in our case.
>
> Cheers
> Jan
Loading...