Created
February 12, 2014 18:10
-
-
Save mstapp/8961217 to your computer and use it in GitHub Desktop.
git post-receive hook to ping jenkins & start build
This file contains hidden or 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
#!/bin/sh | |
# | |
# Simple git post-receive script: start Jenkins build | |
# ping Jenkins to kick off a build | |
# (specify IP) | |
curl -X POST -s http://10.x.x.x:8080/view/GUI/job/WebUI_Build/build?delay=0sec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment