コード例 #1
0
 public void completed(AbstractBuild r) {
   Result result = r.getResult();
   if ((result == Result.ABORTED && notifier.getNotifyAborted())
       || (result == Result.FAILURE && notifier.getNotifyFailure())
       || (result == Result.NOT_BUILT && notifier.getNotifyNotBuilt())
       || (result == Result.SUCCESS && notifier.getNotifySuccess())
       || (result == Result.UNSTABLE && notifier.getNotifyUnstable())) {
     getKato(r).publish(getBuildStatusMessage(r), getBuildColor(r));
   }
 }