[users at bb.net] Parse log output and display computed information

Pierre Tardy tardyp at gmail.com
Sun Jun 24 15:05:02 UTC 2018


Hi,
Indeed, setProgress is a relique of an eight API, and is not implemented in
1.0. any help is apreciated to fix the tutorial you did find (not sure
which one it is)
What you need is step.addURL, which does what you describe in the UI.

http://docs.buildbot.net/latest/manual/customization.html#buildstep-urls

Regards,
Pierre

On Sun, Jun 24, 2018 at 11:10 AM Andreas Sommer <
andreas.sommer87 at googlemail.com> wrote:

> Hi all,
>
> I've read the "Adding LogObservers" tutorial[0] which leverages
> `self.step.setProgress` to store information parsed from the log.
>
> However this function isn't even implemented:
> > master/buildbot/process/buildstep.py:
> >    def setProgress(self, metric, value):
> >        # this function temporarily does nothing
> >        pass
>
> Any plans to get this finished? If it were implemented, could it be used
> to display something in the web interface. My use case: find the line
> `[02:22:49] Logs:
> /pdr/data/logs/bulk/103amd64-2018Q2-bulk-master/2018-06-24_01h12m11s` and
> construct+display a clickable web link to the detailed build log (which are
> created in separate files on disk).
>
> Cheers,
>  Andreas
>
> [0]
> http://docs.buildbot.net/latest/manual/customization.html#adding-logobservers
> _______________________________________________
> 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/20180624/f4467d7a/attachment.html>


More information about the users mailing list