Skip to content

Commit

Permalink
A couple more small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed Jan 27, 2020
1 parent 692f4fc commit cd06d65
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vars/githubPr.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def getTestFailuresMessage() {
}

def messages = []
messages << "### [Test Failures](${env.BUILD_URL}testReport)"
messages << "---\n\n### [Test Failures](${env.BUILD_URL}testReport)"

failures.take(3).each { failure ->
messages << """
Expand All @@ -123,6 +123,10 @@ def getTestFailuresMessage() {
messages << "\n#### Standard Error\n```\n${failure.stdErr}\n```"
}

if (failure.stacktrace) {
messages << "\n#### Stack Trace\n```\n${failure.stacktrace}\n```"
}

messages << "</details>\n\n---"
}

Expand Down

0 comments on commit cd06d65

Please sign in to comment.