Last active
October 5, 2015 00:38
-
-
Save abtris/2725515 to your computer and use it in GitHub Desktop.
Git hook script for bare git repository to notify jenkins git plugin
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
REPOSITORY_BASENAME=$(basename "$PWD") | |
curl http://jenkins.local:8080/git/notifyCommit?url=ssh://git@git.local/$REPOSITORY_BASENAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment