diff --git a/src/main/java/jenkins/plugins/slack/ActiveNotifier.java b/src/main/java/jenkins/plugins/slack/ActiveNotifier.java index 03ab2ecd..d08b6520 100755 --- a/src/main/java/jenkins/plugins/slack/ActiveNotifier.java +++ b/src/main/java/jenkins/plugins/slack/ActiveNotifier.java @@ -60,7 +60,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; }