diff --git a/src/main/java/jenkins/plugins/slack/ActiveNotifier.java b/src/main/java/jenkins/plugins/slack/ActiveNotifier.java index b2e84a7c..e4515e58 100755 --- a/src/main/java/jenkins/plugins/slack/ActiveNotifier.java +++ b/src/main/java/jenkins/plugins/slack/ActiveNotifier.java @@ -66,7 +66,11 @@ public void started(AbstractBuild build) { if (scmCause == null) { MessageBuilder message = new MessageBuilder(notifier, build); message.append(causeAction.getShortDescription()); - notifyStart(build, message.appendOpenLink().toString()); + message.appendOpenLink(); + if (notifier.includeCustomMessage()) { + message.appendCustomMessage(); + } + notifyStart(build, message.toString()); // Cause was found, exit early to prevent double-message return; }