Skip to content

Commit

Permalink
[CI] Fix Slack test failure names in Slack alerts (#66815)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders authored May 19, 2020
1 parent 033355a commit c192dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/slackNotifications.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def getTestFailures() {
def messages = []
messages << "*Test Failures*"

def list = failures.collect { "• <${it.url}|${it.fullDisplayName.split('.', 2)[-1]}>" }.join("\n")
def list = failures.collect { "• <${it.url}|${it.fullDisplayName.split(/\./, 2)[-1]}>" }.join("\n")
return "*Test Failures*\n${list}"
}

Expand Down

0 comments on commit c192dd0

Please sign in to comment.