[Buildbot-devel] Obtain build times from the json API

Vasily vasslitvinov at pisem.net
Mon Nov 24 20:02:48 UTC 2014


Hi Ian,

What Buildbot version your master is running?

At ours 0.8.7p1 the query like
<builmaster_host:port>/json/builders/<builder_name>/builds/-1/
returns JSON object for the latest completed build which contains a section
named "times" - those are start and finish time in Unix notation if I'm not
mistaken.

Thanks,
Vasily

2014-11-24 22:13 GMT+03:00 Ian Bell <ian.h.bell at gmail.com>:

> I have quite a few builds in my buildbot config, and I know some are
> slower than others, and I want to see what can be done to improve the build
> latency.  So I was hoping to be able to obtain the last build duration
> through the JSON api, but I haven't been able to figure out how to do
> that...  Am I missing something obvious, or is this just not possible?
>
> Best,
> Ian
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20141124/f32bd0f0/attachment.html>


More information about the devel mailing list