Hi,

After migrating to artifactory 3.0.2 the method 
Builds.saveBuild(DetailedBuildRun)
<http://repo.jfrog.org/artifactory/libs-releases-local/org/artifactory/artifactory-papi/%5BRELEASE%5D/artifactory-papi-%5BRELEASE%5D-javadoc.jar!/org/artifactory/build/Builds.html#saveBuild(org.artifactory.build.DetailedBuildRun)>
  
is not doing anything if the specified as argument build already exists.
With 2.6.6 it used to update it with the new DetailedBuildRun info if
exists, but now it just skips it. As workaround i have to  delete
<http://repo.jfrog.org/artifactory/libs-releases-local/org/artifactory/artifactory-papi/%5BRELEASE%5D/artifactory-papi-%5BRELEASE%5D-javadoc.jar!/org/artifactory/build/Builds.html#deleteBuild(org.artifactory.build.BuildRun)>
  
the existing build first and after that to call the saveBuild method and
this way it works.
Am I missing something or this is a bug?

Thanks,
Venko




--
View this message in context: 
http://forums.jfrog.org/Builds-saveBuild-DetailedBuildRun-method-not-working-if-the-specified-build-already-exists-tp7579011.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to