Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tonytw1/jenkins-mqtt
Nudge Jenkins builds in response to MQTT events.
https://github.com/tonytw1/jenkins-mqtt
Last synced: 7 days ago
JSON representation
Nudge Jenkins builds in response to MQTT events.
- Host: GitHub
- URL: https://github.com/tonytw1/jenkins-mqtt
- Owner: tonytw1
- Created: 2016-04-17T17:54:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-10-30T08:56:25.000Z (about 3 years ago)
- Last Synced: 2024-11-15T22:32:16.355Z (about 2 months ago)
- Language: Scala
- Homepage:
- Size: 17.6 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Jenkins MQTT hook
Triggers Jenkins builds on an internal Jenkins instance in response to Github webhook JSON events arriving on an MQTT topic.
The Github webhook was captured and published to MQTT by [github-mqtt-webhooks](https://github.com/tonytw1/github-mqtt-webhooks).
This allows us to capture webhooks on a public callback URL and bring them down into the build environment using a MQTT bridge.
There are probably better ways todo this but this works for us as we are already familiar with MQTT.
### Configuration
In `conf/application.conf` set your MQTT connection and Jenkins API settings.
### Build
To package as a container image:
```
sbt docker:publishLocal
```