Opened 3 years ago

#3362 new enhancement

Do something on branch-deletion

Reported by: lsolberg Owned by:
Priority: minor Milestone: undecided
Version: 0.8.12 Keywords: git gitpoller
Cc:

Description

I have a setup that; if branch is "production" triggering buildA, and if branch is anything but "production", triggers a dev-build. The dev-build then checks out the source in the same folder as the branch-name. In here, I will use buildbot to fire up a docker environment (run docker-compose ...), to get a test environment for the developer.

This works fine! And I am very happy with how it works.

However, how can I clean up after the developer is done, and deleted the branch? After seeing https://github.com/buildbot/buildbot/blob/v0.8.12/master/contrib/git_buildbot.py#L306 (the same in the master branch), it looks like buildbot is ignoring branch deletions.

Is there any other way I can trigger something on branch deletion like this? Or is this currently unsuported?

Change History (0)

Note: See TracTickets for help on using tickets.