Trigger only on branch creation/deletion

Issue #23 new
Robert Goldsmith created an issue

Is there a way to have the trigger only activate on certain git events such as creation or deletion of a branch? This would be really useful to hook into our CI system so it can create a new build or clean up a build as branches are created and destroyed.

Comments (3)

  1. Sven Schliesing

    I second that. We use this plugin to trigger building a webapp in TeamCity. Works like a charm when creating a branch or pushing to it. But the build is also triggered when the branch is deleted.

  2. Михаил Стойков

    Has there been any movement on this issue?

    I Propose there to be a number of checkboxes for when the hook should execute: 1. Creation 2. Deletion 3. Modification

  3. Chris Jantzen

    I don't understand why you would want the hook to trigger on branch deletion but I agree with the rest of you that you should be able to configure what type of events trigger the hook.

  4. Log in to comment