continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r810340 - /continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/DefaultDistributedBuildService.java
Date Wed, 02 Sep 2009 02:38:20 GMT
Author: ctan
Date: Wed Sep  2 02:38:20 2009
New Revision: 810340

URL: http://svn.apache.org/viewvc?rev=810340&view=rev
Log:
[CONTINUUM-2348] update build result object from database

Modified:
    continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/DefaultDistributedBuildService.java

Modified: continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/DefaultDistributedBuildService.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/DefaultDistributedBuildService.java?rev=810340&r1=810339&r2=810340&view=diff
==============================================================================
--- continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/DefaultDistributedBuildService.java
(original)
+++ continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/DefaultDistributedBuildService.java
Wed Sep  2 02:38:20 2009
@@ -139,7 +139,9 @@
                 }
     
                 buildResultDao.addBuildResult( project, buildResult );
-    
+
+                buildResult = buildResultDao.getBuildResult( buildResult.getId() );
+
                 project.setOldState( project.getState() );
                 project.setState( ContinuumBuildConstant.getBuildState( context ) );
                 project.setBuildNumber( buildNumber );



Mime
View raw message