[Buildbot] #3362: Do something on branch-deletion

Buildbot trac trac at buildbot.net
Mon Sep 28 05:57:29 UTC 2015


#3362: Do something on branch-deletion
------------------------+---------------------------
Reporter:  lsolberg     |      Owner:
    Type:  enhancement  |     Status:  new
Priority:  minor        |  Milestone:  undecided
 Version:  0.8.12       |   Keywords:  git gitpoller
------------------------+---------------------------
 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?

--
Ticket URL: <http://trac.buildbot.net/ticket/3362>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list