Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jclouds Wiki" for change notification.
The "Creating a pull request job in DEV@cloud" page has been changed by AndrewPhillips: https://wiki.apache.org/jclouds/Creating%20a%20pull%20request%20job%20in%20DEV%40cloud?action=diff&rev1=2&rev2=3 There are three things you need to ensure: 1. The source repository and branch are correct - 2. ''Git validated merge support'' is enabled {{attachment:image.png|Git validated merge support option|align="right"}} + 2. ''Git validated merge support'' is enabled {{attachment:enable-validated-merge.png|Git validated merge support option|align="middle"}} - 3. ''Build pull requests to the repository'' is the only build trigger {{attachment:build-pull-requests-trigger.png|Build pull requests to the repository trigger|align="right"}} + 3. ''Build pull requests to the repository'' is the only build trigger {{attachment:build-pull-requests-trigger.png|Build pull requests to the repository trigger|align="middle"}} == Creating the GitHub Service Hook == Go to the ''Settings > Service Hooks'' menu and create a new ''!WebHook URLs'' entry pointing at {{{https://jclouds.ci.cloudbees.com/github-pull-request-hook/}}} + {{attachment:github-pr-hook.png|GitHub WebHook URL}} + == Configuring the Service Hook == Unfortunately, the Service Hook we have just created listens to the wrong repository event (''push'' instead of ''pull_request'') and sends the wrong type of data, and that's not (yet) something we can change via the !GitHub site. We'll use the !GitHub HTTP API instead. - 1. Download the attached JSON body[[attachment:json-body.txt||&do=get]] + 1. Download the attached [[attachment:json-body.txt||&do=get]] 2. Find the URL of the hook to be modified by running {{{ curl -k -u <your-github-user>:<your-github-pass> https://api.github.com/repos/<github-account>/<repo>/hooks }}} e.g. {{{curl -k -u myuser:secret https://api.github.com/repos/jclouds/jclouds-labs/hooks}}}. Look for the ''id'' of the hook whose ''config > url'' attribute is {{{https://jclouds.ci.cloudbees.com/github-pull-request-hook/}}}
