It would be a nice feature to allow to have `when` conditions at a pipeline or at stages level. This way it would be possible in the jenkins file (version controlled along with the code) which pipelines are built and which are skipped.
It would be a nice feature to allow to have `when` conditions at a pipeline or at stages level. This way it would be possible in the jenkins file (version controlled along with the code) which pipelines are built and which are skipped.
I know it is possible to have nested stages, but doing this just makes the script less readable and looks to be just a hack to get the when block in that location.