History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1695
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: AlSt
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
QuickBuild

SCM changes via REST are not immediately available after the build finished

Created: 01/Jul/13 11:12 AM   Updated: 22/Aug/13 12:32 PM
Component/s: None
Affects Version/s: 4.0.88
Fix Version/s: 4.0.92, 5.0.34

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. changes-rest-stats.PNG
(13 kb)

2. changes-rest.PNG
(11 kb)

3. changes-webinterface.png
(47 kb)


 Description  « Hide
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?

 All   Comments   Work Log   Change History      Sort Order:
Steve Luo [17/Aug/13 06:08 AM]
We noticed that some information is not present: user, comment, date