This is a fork of https://github.com/deltaprojects/smee-client-docker, but it implements a fix for Bitbucket (see https://github.com/probot/smee-client/pull/122/commits/f2f8e9fa57a36d816fa27f74aaaeb18bc3006b46#diff-168726dbe96b3ce427e7fedce31bb0bc)
This is a docker container with smee-client on node:lts-alpine image (i.e. Alpine Linux with NodeJS LTS release).
Get smee-client arguments:
$ docker run --rm deltaprojects/smee-client
Options:
-v, --version output the version number
-u, --url <url> URL of the webhook proxy service. Default: https://smee.io/new
-t, --target <target> Full URL (including protocol and path) of the target service the events will forwarded to. Default: http://127.0.0.1:PORT/PATH
-p, --port <n> Local HTTP server port (default: 3000)
-P, --path <path> URL path to post proxied requests to` (default: "/")
-h, --help output usage information
Setup smee-client
-u argument pointing at the Webhook Proxy URL and the -t argument pointing at your jenkins webhook url
Ex.docker run -d --name smee-client deltaprojects/smee-client -u https://smee.io/z3x5DliUZN7GlQqI -t https://MY-INTERNAL-JENKINS:8443/github-webhook/
Next, configure your GitHub/GitLab/BitBucket webhook, for GitHub:
Aslo setup your Jenkins to work with GitHub or other hosted git service. For GitHub
Content type
Image
Digest
Size
28.5 MB
Last updated
over 6 years ago
docker pull oveits/smee-client