<< Back to previous view

[QB-1695] SCM changes via REST are not immediately available after the build finished
Created: 01/Jul/13  Updated: 22/Aug/13

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 4.0.88
Fix Version/s: 4.0.92, 5.0.34

Type: Bug Priority: Major
Reporter: AlSt Assigned To: Unassigned
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown

File Attachments: PNG File changes-rest-stats.PNG     PNG File changes-rest.PNG     PNG File changes-webinterface.png    

 Description   
When accessing the REST service immediately when the build is finishing the changes are still missing.
./rest/builds/[buildid] does not state status RUNNING any more, but e.g. FAILED or SUCCESSFUL
./rest/changes/[configid]?build=[buildid] returns empty list and ./rest/changes/stats/[configid]?build=[buildid] returns zero for all attributes, e.g. <stats commits="0" modifications="0" added="0" modified="0" deleted="0"/>

If we access a build that is still running, the changes are available in the SCM tab via webinterface, but not via REST.
Please do provide the same information via REST as in the SCM tab in the webinterface. Or do provide the correct SCM changes information via REST before changing the build state from running.
Or is there any other way to check if the build has finished except getting the build details via REST and checking the status if it's not RUNNING any more?

 Comments   
Comment by Steve Luo [ 17/Aug/13 06:08 AM ]
We noticed that some information is not present: user, comment, date
Generated at Thu May 16 19:42:05 UTC 2024 using JIRA 189.