An open API service indexing awesome lists of open source software.

https://github.com/a0s/jenkins-control-by-pull-requests

Starts jenkins job on Github's pull request changes
https://github.com/a0s/jenkins-control-by-pull-requests

Last synced: 2 months ago
JSON representation

Starts jenkins job on Github's pull request changes

Awesome Lists containing this project

README

          

Create a new webhook on Github with parameters:

- Payload URL
`http://YOUR_EXTERNAL_IP:9999/github-webhook`

- Content type
`application/json`

- Secret
`YOUR_SECRET_KEY`

- Which events would you like to trigger this webhook?
Enable `Pull request`

Then starts the server:

```bash
bundle install
GITHUB_HOOK_SECRET="YOUR_SECRET_KEY" rackup --host YOUR_EXTERNAL_IP --port 9999
```