RDTK / generator

A tool for creating Jenkins jobs and other things from recipes describing software projects
GNU General Public License v3.0
21 stars 3 forks source link

aspect to control when downstream jobs should be build #39

Closed rhaschke closed 4 years ago

rhaschke commented 4 years ago

I noticed that jenkins doesn't build downstream jobs anymore if the build is unstable. Maybe the following options are new to jenkins: image

However, to ensure that my downstream jobs are build, even when an upstream one is unstable only, I need to set those options from the build-generator, based on the variable orchestration.success-results. Is there already a way to accomplish this?

scymtym commented 4 years ago

This is not yet supported. I'm adding a new variable dependencies.required-upstream-result to control this behavior.

scymtym commented 4 years ago

I'm currently thinking about having a pair of variables

with following associated behavior:

For example, if job a triggers job b and

the effective threshold in job b will be unstable.

The intention is to mark certain projects as "flaky" (i.e. test failures should not prevent downstream builds) using the dependencies.required-result variable without the need to adjust each downstream project.

rhaschke commented 4 years ago

Sounds reasonable.