Debian Codegraph @

github/README

raw
1 README for github directory in jenkins-debian-glue
2 --------------------------------------------------
3
4 The script hook_server.rb provides a simple gateway between GitHub and
5 an (internal) Jenkins server to receive Git push actions from GitHub and
6 trigger Jenkins jobs accordingly. Place this script on a host which is
7 available from GitHub and has access to the (internal) Jenkins system as
8 well.
9
10 Instructions for usage:
11
12 * configure hook_server settings via config.yml
13 * adapt script hook_server.rb as needed
14 * install dependencies via bundle [http://bundler.io/]:
15 bundle install --path=bundled --verbose --binstubs
16 * start service:
17 bundle exec ./hook_server.rb
18 * enable hook settings of according project(s) under GitHub's "WebHook
19 URL", usage example: http://webhook.example.local:8042/trigger