Skip to content

jenkinsci/mqtt-notification-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MQTT Notification plugin

Jenkins Plugin GitHub release Jenkins Plugin Installs

About

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.

Configuration

The following details are configurable per Jenkins job:

  • Broker hostname/port
  • Topic
  • Message

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".

License

This Jenkins plugin is licensed under the MIT License.