-
New Feature
-
Resolution: Unresolved
-
Major
-
None
This is somewhat similar to JENKINS-23978. We have a lot of entries and some are generic "catch-all" entries that we would like to trigger only if a more specific entry does not trigger. It would be nice to be able to flag these entries as such so that they only get evaluated and reported if no other failure-cause is identified.
Shouldn't be too hard to implement.
Add a new property to FailureCauses: fallback
Then in the scanning phase; first go through all causes that has fallback == false, and then if no indications are found loop through all causes with fallback == true in the same way.
Since the java default for missing (optional) boolean values are false it should be no problems with backwards compatibility, just need to make sure the field is marked as optional to the json parser.