[Toaster] Link to latest build
Reyna, David
david.reyna at windriver.com
Wed Oct 18 08:29:48 PDT 2017
Hi Murray,
> Is there an equivalent in toaster?
1) Not directly.
If you think that it is useful then please file an enhancement request, or better yet work with me on a patch!
Would you want just that URL that you paste/bookmark into your browser, or would you want also a link in the Toaster interface to take you their?
2) This is what I can offer you today, if you do not mind being clever!
Look at this new section of the Toaster manual:
http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#remote-toaster-monitoring
With this new interface you can bring up any build you want. You can for example:
(a) Use http://host:port/toastergui/api/builds to return a JSON array of all builds, and then sort them by either Start or Stop time. The “…/building” link alternatively returns the list of builds in progress if you want that instead.
(b) From that array you get the build ID’s.
(c) With the build ID you can then bring up the full page for that build as per your example, or if you are staying programmatic you can use http://host:port/toastergui/api/build/ID to get a quick JSON summary of that build.
My company uses this JSON interface to monitor builds inside Docker containers for our Continuous Integration system.
Hope this helps,
- David
From: toaster-bounces at yoctoproject.org [mailto:toaster-bounces at yoctoproject.org] On Behalf Of Murray Thomson
Sent: Wednesday, October 18, 2017 3:18 AM
To: toaster at yoctoproject.org
Subject: [Toaster] Link to latest build
Hi,
New to toaster, I'm looking for a link to the latest build. I can access to
http://127.0.0.1:8080/toastergui/build/7
But I was hoping for something like
http://127.0.0.1:8080/toastergui/build/latest
too. Jenkins does this and it's very handy. Is there an equivalent in toaster?
Regards,
Murray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20171018/b123ac69/attachment.html>
More information about the toaster
mailing list