[users at bb.net] retrieving step logs
Dimitri Naydich
dnaydich at grammatech.com
Thu Jul 28 17:51:55 UTC 2016
Thanks Pierre! It works.
Dimitri
On 7/28/2016 9:57 AM, Pierre Tardy wrote:
> 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 <mailto: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 urlhttp: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 <mailto:users at buildbot.net>
> https://lists.buildbot.net/mailman/listinfo/users
>
--
Dimitri Naydich | GrammaTech, Inc. | Tel: 607-273-7340 x171
mailto:dnaydich at grammatech.com | http://www.grammatech.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20160728/809b46e7/attachment.html>
More information about the users
mailing list