From 02ee6ea56ed988b824f341945d40ba5ab162f77f Mon Sep 17 00:00:00 2001 From: Daniel Fox Date: Wed, 11 Nov 2020 17:28:58 -0800 Subject: [PATCH] Don't automatically mark the parent job as SUCCESS (#148) --- .../hudson/plugins/parameterizedtrigger/BlockingBehaviour.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/hudson/plugins/parameterizedtrigger/BlockingBehaviour.java b/src/main/java/hudson/plugins/parameterizedtrigger/BlockingBehaviour.java index 746f1e26..09c50cf4 100644 --- a/src/main/java/hudson/plugins/parameterizedtrigger/BlockingBehaviour.java +++ b/src/main/java/hudson/plugins/parameterizedtrigger/BlockingBehaviour.java @@ -86,7 +86,7 @@ public boolean mapBuildStepResult(Result r) { public Result mapBuildResult(Result r) { if (failureThreshold!=null && r.isWorseOrEqualTo(failureThreshold)) return FAILURE; if (unstableThreshold!=null && r.isWorseOrEqualTo(unstableThreshold)) return UNSTABLE; - return SUCCESS; + return null; } @Extension