The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
mqttNotification
: MQTT NotificationbrokerUrl
(optional)
The URL for the MQTT broker. This should also include the protocol (e.g. "tcp://192.168.0.1:1883").
String
topic
(optional)
The topic to which to publish the notification. If no value is specified then the default value ("jenkins/$JOB_URL" e.g. "jenkins/job/my-build") is used.
In addition to environment variables and build parameters, the following variables can also be used (all variables must be prefix with "$"):
String
message
(optional)
The "payload" for the MQTT message.
In addition to environment variables and build parameters, the following variables can also be used (all variables must be encapsulated within "${}"):
String
qos
(optional)
String
retainMessage
(optional)
If the message is "retained" then the broker will keep a copy as the "last known" message and publish it to any new subscribers when they first connect.
boolean
credentialsId
(optional)
String
Please submit your feedback about this page through this quick form.
Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?
See existing feedback here.