You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ct...@apache.org on 2010/09/22 07:46:10 UTC

svn commit: r999768 - /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentServiceImpl.java

Author: ctan
Date: Wed Sep 22 05:46:10 2010
New Revision: 999768

URL: http://svn.apache.org/viewvc?rev=999768&view=rev
Log:
added logs in isProjectGroupInQueue

Modified:
    continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentServiceImpl.java

Modified: continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentServiceImpl.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentServiceImpl.java?rev=999768&r1=999767&r2=999768&view=diff
==============================================================================
--- continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentServiceImpl.java (original)
+++ continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentServiceImpl.java Wed Sep 22 05:46:10 2010
@@ -780,6 +780,7 @@ public class ContinuumBuildAgentServiceI
             {
                 if ( task.getProjectGroupId() == projectGroupId )
                 {
+                    log.debug( "projectGroup {} is in prepare build queue", projectGroupId );
                     return true;
                 }
             }
@@ -788,6 +789,7 @@ public class ContinuumBuildAgentServiceI
 
             if ( currentPrepareBuildTask != null && currentPrepareBuildTask.getProjectGroupId() == projectGroupId )
             {
+                log.debug( "projectGroup {} is currently preparing build", projectGroupId );
                 return true;
             }
 
@@ -795,6 +797,7 @@ public class ContinuumBuildAgentServiceI
             {
                 if ( task.getProjectGroupId() == projectGroupId )
                 {
+                    log.debug( "projectGroup {} is in build queue", projectGroupId );
                     return true;
                 }
             }
@@ -803,6 +806,7 @@ public class ContinuumBuildAgentServiceI
 
             if ( currentBuildTask != null && currentBuildTask.getProjectGroupId() == projectGroupId )
             {
+                log.debug( "projectGroup {} is currently building", projectGroupId );
                 return true;
             }            
         }