continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r811285 - /continuum/branches/continuum-1.3.x/continuum-core/src/main/java/org/apache/continuum/builder/distributed/DefaultDistributedBuildService.java
Date Fri, 04 Sep 2009 08:44:36 GMT
Author: ctan
Date: Fri Sep  4 08:44:36 2009
New Revision: 811285

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

Modified:
    continuum/branches/continuum-1.3.x/continuum-core/src/main/java/org/apache/continuum/builder/distributed/DefaultDistributedBuildService.java

Modified: continuum/branches/continuum-1.3.x/continuum-core/src/main/java/org/apache/continuum/builder/distributed/DefaultDistributedBuildService.java
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-1.3.x/continuum-core/src/main/java/org/apache/continuum/builder/distributed/DefaultDistributedBuildService.java?rev=811285&r1=811284&r2=811285&view=diff
==============================================================================
--- continuum/branches/continuum-1.3.x/continuum-core/src/main/java/org/apache/continuum/builder/distributed/DefaultDistributedBuildService.java
(original)
+++ continuum/branches/continuum-1.3.x/continuum-core/src/main/java/org/apache/continuum/builder/distributed/DefaultDistributedBuildService.java
Fri Sep  4 08:44:36 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