continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r725988 - in /continuum/branches/continuum-distributed-builds/continuum-distributed-build/continuum-buildagent/src/main/java/org/apache/continuum/buildagent: ContinuumBuildAgentService.java ContinuumBuildAgentServiceImpl.java
Date Fri, 12 Dec 2008 12:52:44 GMT
Author: ctan
Date: Fri Dec 12 04:52:44 2008
New Revision: 725988

URL: http://svn.apache.org/viewvc?rev=725988&view=rev
Log:
- added cancelBuild method
- added Thread.sleep() temporarily

Modified:
    continuum/branches/continuum-distributed-builds/continuum-distributed-build/continuum-buildagent/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentService.java
    continuum/branches/continuum-distributed-builds/continuum-distributed-build/continuum-buildagent/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentServiceImpl.java

Modified: continuum/branches/continuum-distributed-builds/continuum-distributed-build/continuum-buildagent/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentService.java
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-distributed-builds/continuum-distributed-build/continuum-buildagent/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentService.java?rev=725988&r1=725987&r2=725988&view=diff
==============================================================================
--- continuum/branches/continuum-distributed-builds/continuum-distributed-build/continuum-buildagent/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentService.java
(original)
+++ continuum/branches/continuum-distributed-builds/continuum-distributed-build/continuum-buildagent/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentService.java
Fri Dec 12 04:52:44 2008
@@ -20,4 +20,6 @@
         throws ContinuumBuildAgentException;
 
     int getProjectCurrentlyBuilding();
+
+    void cancelBuild();
 }

Modified: continuum/branches/continuum-distributed-builds/continuum-distributed-build/continuum-buildagent/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentServiceImpl.java
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-distributed-builds/continuum-distributed-build/continuum-buildagent/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentServiceImpl.java?rev=725988&r1=725987&r2=725988&view=diff
==============================================================================
--- continuum/branches/continuum-distributed-builds/continuum-distributed-build/continuum-buildagent/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentServiceImpl.java
(original)
+++ continuum/branches/continuum-distributed-builds/continuum-distributed-build/continuum-buildagent/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentServiceImpl.java
Fri Dec 12 04:52:44 2008
@@ -23,6 +23,13 @@
 
         prepareBuildProjects( buildContext );
         
+        try
+        {
+            Thread.sleep( 60000 );
+        }
+        catch ( InterruptedException e )
+        {
+        }
     }
 
     public List<Installation> getAvailableInstallations()
@@ -51,6 +58,11 @@
         return 0;
     }
 
+    public void cancelBuild()
+    {
+        
+    }
+
     private List<BuildContext> initializeBuildContext( List<Map> projectsBuildContext
)
     {
         List<BuildContext> buildContext = new ArrayList<BuildContext>();



Mime
View raw message