A simple notifier that can publish build notifications to a topic on a MQTT broker.
MQTT is a machine-to-machine (M2M)/"Internet of Things" connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport.
The following details are configurable per Jenkins job:
- Broker hostname/port
Both the topic and the message may also include certain dynamic variables. These include:
- PROJECT_URL - The relative URL to the Jenkins project to which this job belongs (e.g. "job/my-build").
- BUILD_RESULT - The result of the Job (e.g. SUCCESS, FAILURE, ABORTED, etc.)
- BUILD_NUMBER - The build number
- CULPRITS - Comma-separated list of build culprits
All other build variables and environment variables can also be used (JENKINS-41839).
The default topic when no value is specified is "jenkins/PROJECT_URL".
The default message when no value is specified is "BUILD_RESULT".
This Jenkins plugin is licensed under the MIT License.