From bf0d30cd7880f797f37a79005261d08fee0a22f6 Mon Sep 17 00:00:00 2001 From: Peter Major Date: Sun, 22 Feb 2015 02:02:49 +0000 Subject: [PATCH] Use project's full display name in notifications Closes #12 --- src/main/java/jenkins/plugins/hipchat/NotificationType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/jenkins/plugins/hipchat/NotificationType.java b/src/main/java/jenkins/plugins/hipchat/NotificationType.java index 2f2005a..01fd058 100644 --- a/src/main/java/jenkins/plugins/hipchat/NotificationType.java +++ b/src/main/java/jenkins/plugins/hipchat/NotificationType.java @@ -123,7 +123,7 @@ private static String getStatusMessageWithChanges(AbstractBuild build) { public final String getMessage(AbstractBuild build) { String rootUrl = Jenkins.getInstance().getRootUrl(); StringBuilder sb = new StringBuilder(150); - sb.append(Messages.MessageStart(build.getProject().getDisplayName(), build.getDisplayName())); + sb.append(Messages.MessageStart(build.getProject().getFullDisplayName(), build.getDisplayName())); sb.append(' '); sb.append(getStatusMessage(build));