Skip to content

Instantly share code, notes, and snippets.

@michaelneale
Created February 25, 2013 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelneale/5028280 to your computer and use it in GitHub Desktop.
Save michaelneale/5028280 to your computer and use it in GitHub Desktop.
How to set up a pull request for Jenkins DEV@cloud without giving plugin access
Place something like this this in pullhooks.json:
{ "name": "web",
"active": true,
"events": ["pull_request"],
"config": {
"url": "https://playground.ci.cloudbees.com/github-pull-request-hook/"
}
Now to create the pull request hooks:
curl -u yourgithubuser:password -X POST -d @pullhooks https://api.github.com/repos/michaelneale/clojure-bootstrap/hooks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment