-
New Feature
-
Resolution: Fixed
-
Major
-
None
When using the Hudson API to view information,even when viewing with depth=1, the changeset number and changeset timestamp is missing. You can view all the affected files and the user who submitted the change, but not the information mentioned above. Instead, how I am retrieving the information currently:
$dom = new domDocument;
@$dom->loadHTMLFile("http://hudson_server/job/job1/123/changes");
$xml = simplexml_import_dom($dom);
if(isset($xml->body->table[1]>tr>td[1]>div>b->a))
print("<td>" . $xml->body->table[1]>tr>td[1]>div>b->a . "</td>"); // print the changelist number.
This is extremely slow (if you have a lot of builds) and would be much faster if the information could be accessible through the API:
http://hudson_server/job/job1/123/api/xml?depth=1
Thank you.