diff --git a/vars/notify.groovy b/vars/notify.groovy index 76888ac..b36837f 100644 --- a/vars/notify.groovy +++ b/vars/notify.groovy @@ -187,6 +187,7 @@ void mqtt(Map config = [:]) { if (!mqttEnabled) { log.info("mqtt notification is disabled.") + return } String broker = mqttConfig[NOTIFY_MQTT_BROKER]