Skip to content

Commit

Permalink
As suggested in the Code Review
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Apr 24, 2020
1 parent e35fbc1 commit 48a1599
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/co/elastic/NotificationManager.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def notifyPR(Map params = [:]) {
def statusSuccess = (buildStatus == "SUCCESS")
def boURL = getBlueoceanDisplayURL()
def body = buildTemplate([
"template": 'groovy-markdown-custom.template',
"template": 'github-comment-markdown.template',
"build": build,
"changeSet": changeSet,
"jenkinsText": env.JOB_NAME,
Expand Down
2 changes: 1 addition & 1 deletion src/test/groovy/NotificationManagerStepTests.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class NotificationManagerStepTests extends ApmBasePipelineTest {
testsSummary: readJSON(file: "tests-summary.json")
)
printCallStack()
assertTrue(assertMethodCallContainsPattern('libraryResource', 'groovy-markdown-custom.template'))
assertTrue(assertMethodCallContainsPattern('libraryResource', 'github-comment-markdown.template'))
assertTrue(assertMethodCallContainsPattern('githubPrComment', 'Build Succeeded'))
assertJobStatusSuccess()
}
Expand Down

0 comments on commit 48a1599

Please sign in to comment.