Skip to content

Instantly share code, notes, and snippets.

@mstapp
mstapp / post-receive
Created February 12, 2014 18:10
git post-receive hook to ping jenkins & start build
#!/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