Opened 4 years ago

Last modified 19 months ago

#3033 new enhancement

custom buildbot changehooks

Reported by: vlovich Owned by:
Priority: major Milestone: 0.9.+
Version: 0.8.9 Keywords: plugins
Cc:

Description

Currently, all change hooks have to live in buildbot.status.web.hooks.

It would be nice there was a way to add custom webhooks that didn't live in the buildbot project.

I've attached a workaround I've been using.

Attachments (2)

buildbot_extension.py (2.7 KB) - added by vlovich 4 years ago.
Buildbot package injection script
__init__.py (145 bytes) - added by vlovich 4 years ago.
Drop the init.py wherever you want to add custom hooks

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by vlovich

Buildbot package injection script

Changed 4 years ago by vlovich

Drop the init.py wherever you want to add custom hooks

comment:1 Changed 4 years ago by dustin

  • Keywords plugins added
  • Milestone changed from undecided to 0.9.+
  • Type changed from undecided to enhancement

I think that this would be best handled using the plugins mechanism. The buildbot.status package will be going away soon, anyway, so a way to move them would be great.

comment:2 Changed 4 years ago by vlovich

Can plugins be installed outside of the buildbot package? In other words, can I write a plugin that sits beside in my repository beside my master.cfg?

comment:3 Changed 4 years ago by dustin

Sure, that's the whole idea :)

Note: See TracTickets for help on using tickets.