Skip to content

Instantly share code, notes, and snippets.

@wolfg1969
Created December 13, 2012 01:41
Show Gist options
  • Select an option

  • Save wolfg1969/4273332 to your computer and use it in GitHub Desktop.

Select an option

Save wolfg1969/4273332 to your computer and use it in GitHub Desktop.
notify jenkins in a git post-receive script
GIT_REPO_URL=git@my_repository_server:`pwd | sed 's:.*\/::'`
curl http://my_ci_server:8080/git/notifyCommit?url=$GIT_REPO_URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment