Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #58 from wcm-io-devops/mqtt_return_disabled
Browse files Browse the repository at this point in the history
Mqtt notification: don't do anything if disabled
  • Loading branch information
Tobias Richter authored Sep 25, 2020
2 parents fac57db + 77a078a commit fa3094f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vars/notify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ void mqtt(Map config = [:]) {

if (!mqttEnabled) {
log.info("mqtt notification is disabled.")
return
}

String broker = mqttConfig[NOTIFY_MQTT_BROKER]
Expand Down

0 comments on commit fa3094f

Please sign in to comment.