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 : String
(optional)
The URL for the MQTT broker. This should also include the protocol (e.g. "tcp://192.168.0.1:1883").
topic : String
(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 "$"):
message : String
(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 "${}"):
qos : String
(optional)
retainMessage : boolean
(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.
credentialsId : String
(optional)
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.