[devel at bb.net] Need help with Compile steps

Dustin J. Mitchell dustin at v.igoro.us
Mon Feb 29 15:13:41 UTC 2016


Yes, `f` is a factory.

In this case, I think you want `steps.Compile` rather than just `Compile`
on the third line.

Dustin

On Mon, Feb 29, 2016 at 1:52 AM, MikeLing <sabergeass at gmail.com> wrote:

> Hi:
>
>     I meet some problem when I try to add * WarningCountingShellCommand*
> to Compile steps. When I read about this document(
> http://docs.buildbot.net/current/manual/cfg-buildsteps.html?highlight=warningcountingshellcommand#shellcommand),
> I haven't found where this 'f' been defined in configure file(maybe it
> should be 'factory'?).  And after I add:
>
> factory.addStep(steps.Compile(command=["make"],
>                   warningPattern="^(.\*?):([0-9]+): [Ww]arning: (.\*)$",
>                   warningExtractor=Compile.warnExtractFromRegexpGroups,
>                   suppressionFile="support-files/noexistfile.supp"))
>
>
> in configure file, it will tell me " the name 'Compile' is not defined".
> Could you tell me what should I do next? How could I fix this? Thank you :)
>
> MikeLing
>
>
> _______________________________________________
> devel mailing list
> devel at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/devel/attachments/20160229/5be7d6f1/attachment.html>


More information about the devel mailing list