From a99ecdca9ac542c5da796d3c0dbfd45ac0933175 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Fri, 14 Sep 2007 04:16:07 +0000 Subject: [PATCH] merging aborted and failure should be a failure. This is particularly evident when an earlier failure stopped the maven module set build. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4744 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/model/Result.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/src/main/java/hudson/model/Result.java b/core/src/main/java/hudson/model/Result.java index 341cd1524d..19e2c27acc 100644 --- a/core/src/main/java/hudson/model/Result.java +++ b/core/src/main/java/hudson/model/Result.java @@ -16,18 +16,18 @@ public final class Result implements Serializable, CustomExportedBean { * The build didn't have any fatal errors not errors. */ public static final Result SUCCESS = new Result("SUCCESS",BallColor.BLUE,0); + /** + * The build was manually aborted. + */ + public static final Result ABORTED = new Result("ABORTED",BallColor.GREY,1); /** * The build didn't have any fatal errors but some errors. */ - public static final Result UNSTABLE = new Result("UNSTABLE",BallColor.YELLOW,1); + public static final Result UNSTABLE = new Result("UNSTABLE",BallColor.YELLOW,2); /** * The build had a fatal error. */ - public static final Result FAILURE = new Result("FAILURE",BallColor.RED,2); - /** - * The build was manually aborted. - */ - public static final Result ABORTED = new Result("ABORTED",BallColor.GREY,3); + public static final Result FAILURE = new Result("FAILURE",BallColor.RED,3); private final String name;