The BuildLog page on the wiki would be much more useful if it were also updated with build results. Any failures could be added to the wiki with a link to the relevant logs. If a build succeeds the BuildLog entry could be updated to note no issues were found.
We can use the same JSON api to monitor the build, i.e. (a transient url): https://autobuilder.yoctoproject.org/main/json/builders/nightly/builds/1059?as_text=1 Triggered builds are currently the 25th buildstep (index 24 in the steps array of the JSON data) and contains a urls dictionary of build → url mappings. We can use the urls to determine an api to monitor for failures and check the steps of each monitored build for a failure code (after determining what possible values there are) in the results array and/or the string "failed" in the text array.
I have an initial set of changes for the buildlogger script to implement this, I'm not very happy with some pieces of the code and would like to fix them up over the next day or so. There's also an issue in that since we renamed meta-yocto to meta-poky during krogoth the GetLayerVersion_3 build step always fails, which results in a false positive when reporting failures through buildlogger. It's probable that we can just drop this step now, so long as the autobuilder doesn't need to support jethro or earlier any more.
The code is implemented but taking some time to test due to the length of time it takes to run through a build on the autobuilder.
http://git.yoctoproject.org/clean/cgit.cgi/yocto-autobuilder/commit/?id=d30c578d2c7b0bee1f087e1435fefbf1920cb9af