continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1366995 - /continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CreateBuildProjectTaskAction.java
Date Mon, 30 Jul 2012 04:48:14 GMT
Author: brett
Date: Mon Jul 30 04:48:14 2012
New Revision: 1366995

URL: http://svn.apache.org/viewvc?rev=1366995&view=rev
Log:
[CONTINUUM-2683] Project in group already in queued can cause other group projects not to
be queued

Modified:
    continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CreateBuildProjectTaskAction.java

Modified: continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CreateBuildProjectTaskAction.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CreateBuildProjectTaskAction.java?rev=1366995&r1=1366994&r2=1366995&view=diff
==============================================================================
--- continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CreateBuildProjectTaskAction.java
(original)
+++ continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CreateBuildProjectTaskAction.java
Mon Jul 30 04:48:14 2012
@@ -75,7 +75,8 @@ public class CreateBuildProjectTaskActio
 
             if ( parallelBuildsManager.isInAnyBuildQueue( project.getId(), buildDefinition.getId()
) )
             {
-                return;
+                getLogger().info( "Project '" + project.getName() + "' is already in build
queue." );
+                continue;
             }
 
             if ( parallelBuildsManager.isInAnyCheckoutQueue( project.getId() ) )
@@ -116,7 +117,6 @@ public class CreateBuildProjectTaskActio
             catch ( ContinuumStoreException e )
             {
                 getLogger().error( "Error while creating build object", e );
-                //throw new ContinuumException( "Error while creating build object.", e );
             }
         }
 



Mime
View raw message