[users at bb.net] Post processing stdio or stderr logs

honas grael honasgraeymael at gmail.com
Sun Dec 8 14:29:09 UTC 2019


Thanks, but is there any examples that I can easily follow, I am struggling
to understand from
https://docs.buildbot.net/latest/developer/cls-logobserver.html
how I can add a logobserver to a shellcommand such as


makepackages = steps.ShellCommand(name="make packages", command=["make",
"packages"], haltOnFailure=True, description="make packages")

How would I add a log observer? If anyone has an example please point me in
the right direction.

Regards

On Sun, Dec 8, 2019 at 12:56 PM Pierre Tardy <tardyp at gmail.com> wrote:

> Hi,
> What you need is a log observer
> https://docs.buildbot.net/latest/developer/cls-logobserver.html
>
> Regards
> Pierre
>
>
> Le sam. 7 déc. 2019 à 21:19, honas grael <honasgraeymael at gmail.com> a
> écrit :
>
>> Hello
>> I have a buildstep as follows
>>
>> makepackages = steps.ShellCommand(name="make packages",
>>                                   command=["make", "packages"],
>>                                   haltOnFailure=True,
>>                                   description="make packages")
>>
>>
>> when it runs the output is sent to stdio, I would like to
>>
>> add a post processing step following the command that processes
>>
>> the stdio output from makepackages, so that I can search for
>>
>> keywords in stdio.
>>
>> How can I do this? I've read the docs but I do not follow,
>>
>> can anyone guide me
>>
>>
>> Regards
>>
>> _______________________________________________
>> 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/20191208/500556a8/attachment.html>


More information about the users mailing list