[Cdash] Retrieving build id from CDash

Igor Murzov e-mail at date.by
Mon Aug 12 12:18:23 UTC 2013


Hi list.

How do I get id of the build, that was assigned by CDash on
ctest_submit() call? I need this information to construct an url
to the cdash page with a build information. Preferrably, build id
should be retrieved inside running ctest script. Retrieving it
using web api is probably fine too. But for some reason

 http://mycdashserver/api/?method=build&task=schedulestatus&project=MyProject&scheduleid=12

always returns empty build array:

 {"scheduled":1,"status":"3","statusstring":"finished","scheduleid":"40","builds":[]}


-- Igor



More information about the CDash mailing list