diff --git a/src/main/java/jenkins/plugins/slack/ActiveNotifier.java b/src/main/java/jenkins/plugins/slack/ActiveNotifier.java index e7d97723..9cd9a688 100755 --- a/src/main/java/jenkins/plugins/slack/ActiveNotifier.java +++ b/src/main/java/jenkins/plugins/slack/ActiveNotifier.java @@ -379,9 +379,10 @@ public MessageBuilder appendFailedTests() { .getAction(AbstractTestResultAction.class); if (action != null) { int failed = action.getFailCount(); - message.append("\n").append(failed).append(" failed Tests:\n"); + message.append("\n").append(failed).append(" Failed Tests:\n"); for(TestResult result : action.getFailedTests()) { - message.append("\t").append(result.getName()).append("\n"); + message.append("\t").append(result.getName()).append(" after ") + .append(result.getDurationString()).append("\n"); } } return this; diff --git a/src/main/resources/jenkins/plugins/slack/SlackNotifier/config.jelly b/src/main/resources/jenkins/plugins/slack/SlackNotifier/config.jelly index 28e4416e..8e7cfdd6 100755 --- a/src/main/resources/jenkins/plugins/slack/SlackNotifier/config.jelly +++ b/src/main/resources/jenkins/plugins/slack/SlackNotifier/config.jelly @@ -36,7 +36,7 @@ - +