continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r725936 - /continuum/branches/continuum-distributed-builds/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java
Date Fri, 12 Dec 2008 07:48:41 GMT
Author: ctan
Date: Thu Dec 11 23:48:41 2008
New Revision: 725936

URL: http://svn.apache.org/viewvc?rev=725936&view=rev
Log:
set enable to false if unable to ping client

Modified:
    continuum/branches/continuum-distributed-builds/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java

Modified: continuum/branches/continuum-distributed-builds/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-distributed-builds/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java?rev=725936&r1=725935&r2=725936&view=diff
==============================================================================
--- continuum/branches/continuum-distributed-builds/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java
(original)
+++ continuum/branches/continuum-distributed-builds/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java
Thu Dec 11 23:48:41 2008
@@ -127,6 +127,7 @@
                     }
                     catch ( Exception e )
                     {
+                        agent.setEnabled( false );
                         log.info( "unable to ping build agent '" + agent.getUrl() + "': "
+ ContinuumUtils.throwableToString( e ) );
                     }
                 }
@@ -164,6 +165,7 @@
                 }
                 catch ( Exception e )
                 {
+                    agent.setEnabled( false );
                     log.info( "unable to ping build agent '" + agent.getUrl() + "': " + ContinuumUtils.throwableToString(
e ) );
                 }
             }



Mime
View raw message