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