File: README

package info (click to toggle)
jenkins-debian-glue 0.23.6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 416 kB
  • sloc: sh: 2,636; ruby: 543; makefile: 30; python: 24
file content (19 lines) | stat: -rw-r--r-- 804 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
README for github directory in jenkins-debian-glue
--------------------------------------------------

The script hook_server.rb provides a simple gateway between GitHub and
an (internal) Jenkins server to receive Git push actions from GitHub and
trigger Jenkins jobs accordingly. Place this script on a host which is
available from GitHub and has access to the (internal) Jenkins system as
well.

Instructions for usage:

* configure hook_server settings via config.yml
* adapt script hook_server.rb as needed
* install dependencies via bundle [http://bundler.io/]:
  bundle install --path=bundled --verbose --binstubs
* start service:
  bundle exec ./hook_server.rb
* enable hook settings of according project(s) under GitHub's "WebHook
  URL", usage example: http://webhook.example.local:8042/trigger