continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r999768 - /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentServiceImpl.java
Date Wed, 22 Sep 2010 05:46:10 GMT
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;
             }            
         }



Mime
View raw message