continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r327123 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scheduler/ContinuumBuildJob.java
Date Fri, 21 Oct 2005 08:47:26 GMT
Author: evenisse
Date: Fri Oct 21 01:47:23 2005
New Revision: 327123

URL: http://svn.apache.org/viewcvs?rev=327123&view=rev
Log:
thread sleep during quiet period

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scheduler/ContinuumBuildJob.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scheduler/ContinuumBuildJob.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scheduler/ContinuumBuildJob.java?rev=327123&r1=327122&r2=327123&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scheduler/ContinuumBuildJob.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scheduler/ContinuumBuildJob.java
Fri Oct 21 01:47:23 2005
@@ -62,6 +62,11 @@
             logger.error( "Error building projects for job" + jobName + ".", e );
         }
 
+        if ( schedule.getDelay() > 0 )
+        {
+            Thread.currentThread().sleep( schedule.getDelay() * 1000 );
+        }
+
         /*
 
         Continuum continuum = (Continuum) jobDetail.getJobDataMap().get( ContinuumSchedulerConstants.CONTINUUM
);



Mime
View raw message