On 2012-06-13 21:00, Thomas Sondergaard wrote:
The win32 BUILD_URL should be obtainable by replacing arch=linux with arch=win32 in the linux $BUILD_URL. Next I need to query the status of a build. How do I do that? Is there a REST url, a la $BUILD_URL/status that will give me back a status code or something (BUILDING, OK, FAILED)?
Okay, I just found this out two minutes after posting. That happens to me too often :-)
$BUILD_URL/api/xml will give back a useful XML reply. $BUILD_URL/api/xml?xpath=//building/text() is what I need for polling $BUILD_URL/api/xml?xpath=//result/text() will afterwards give me the result Thanks, Thomas