Forked from andreagrandi/post_change_branch_tip_hook.py
Last active
August 29, 2015 14:24
-
-
Save alexmerser/d2ff3a3fad29a1096b63 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bzrlib import branch | |
import urllib | |
JENKINS_URL = 'http://.....' | |
def post_change_branch_tip_hook(push_result): | |
urllib.openurl(JENKINS_URL) | |
branch.Branch.hooks.install_named_hook('post_change_branch_tip', | |
post_change_branch_tip_hook, 'Jenkins build hook') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment