continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r572588 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
Date Tue, 04 Sep 2007 09:14:29 GMT
Author: evenisse
Date: Tue Sep  4 02:14:22 2007
New Revision: 572588

URL: http://svn.apache.org/viewvc?rev=572588&view=rev
Log:
[CONTINUUM-1428] Force to build a project if latest state was error

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java?rev=572588&r1=572587&r2=572588&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
Tue Sep  4 02:14:22 2007
@@ -469,6 +469,13 @@
 
         Project project = context.getProject();
 
+        //CONTINUUM-1428
+        if ( project.getOldState() == ContinuumProjectState.ERROR ||
+            context.getOldBuildResult().getState() == ContinuumProjectState.ERROR )
+        {
+            return true;
+        }
+
         if ( project.getOldState() != ContinuumProjectState.NEW &&
             project.getOldState() != ContinuumProjectState.CHECKEDOUT &&
             context.getTrigger() != ContinuumProjectState.TRIGGER_FORCED &&



Mime
View raw message