private SlackService getSlack(AbstractBuild r) { AbstractProject<?, ?> project = r.getProject(); String projectRoom = Util.fixEmpty(project.getProperty(SlackNotifier.SlackJobProperty.class).getRoom()); return notifier.newSlackService(projectRoom); }
public MessageBuilder appendOpenLink() { String url = notifier.getBuildServerUrl() + build.getUrl(); message.append(" (<").append(url).append("|Open>)"); return this; }