[users at bb.net] retrieving step logs

Pierre Tardy tardyp at gmail.com
Thu Jul 28 13:57:15 UTC 2016


Hi,
You can use the following in order to get the raw log:

http://localhost:8010/api/v2/logs/995/raw

.. which looks like is not documented..
http://trac.buildbot.net/ticket/3586#ticket


Le jeu. 28 juil. 2016 à 03:51, Dimitri Naydich <dnaydich at grammatech.com> a
écrit :

> Hi,
>
> Is there a way to retrieve a log for a completed step as a text file via a
> url? For example, let url http:buildbot.example.org/steps/85619/logs show
>
> {
>   "logs": [
>     {
>       "complete": true,
>       "logid": 88819,
>       "name": "stdio",
>       "num_lines": 94,
>       "slug": "stdio",
>       "stepid": 85619,
>       "type": "s"
>     }
>   ],
>   "meta": {
>     "total": 1
>   }
> }
>
> I thought that url http:buildbot.example.org/steps/85619/logs/stdio would show the text of the log, but it shows
>
> {
>   "logs": [
>     {
>       "complete": true,
>       "logid": 88819,
>       "name": "stdio",
>       "num_lines": 94,
>       "slug": "stdio",
>       "stepid": 85619,
>       "type": "s"
>     }
>   ],
>   "meta": {}
> }
>
> Your suggestions appreciated.
>
> Thanks,
>
> Dimitri
>
>
> _______________________________________________
> users mailing list
> users at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20160728/58e786ed/attachment.html>


More information about the users mailing list