[devel at bb.net] Dynamically add tags to builder

dag dg dagofthedofg at gmail.com
Mon Jun 29 22:06:31 UTC 2020


Is there a way to add tags to a builder as buildbot is running and not just
during startup? I'm trying to set up builds to add a "failure" tag to their
builder if they fail, and the next build that succeeds to remove said tag.
I'm trying to do this as a workaround for the following issue:

https://github.com/buildbot/buildbot/issues/5056

I was digging into the doStepIf attribute of build steps and found I could
get a reference to the builder tags through the step object passed to the
custom doStepIf function at <step.build.builder.config.tags>. However when
I modify this value while it does get updated, the webUI does not show the
new tags so I'm obviously missing something.

The ability for my team to quickly identify build failures in the UI is
fairly important and if we would be able to use tagging this would work
well but I haven't had much success thus far.

-Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/devel/attachments/20200629/a7bd6169/attachment.html>


More information about the devel mailing list