Skip to content

Commit

Permalink
Merge pull request #20 from stakater/revamp-app-release
Browse files Browse the repository at this point in the history
fix notify error
  • Loading branch information
kahootali authored Jul 25, 2019
2 parents b6d9a23 + 24b3407 commit 16d3ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/stakater/notifications/NotificationManager.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def sendError(Map notificationConfig, Map gitConfig, String buildNumber, String
def slack = new io.stakater.notifications.Slack()

if (notificationConfig.notifySlack) {
slack.sendDefaultFailureNotification(notificationConfig.slackWebHookURL, notificationConfig.slackChannel, [slack.createErrorField(e)], repoBranch)
slack.sendDefaultFailureNotification(notificationConfig.slackWebHookURL, notificationConfig.slackChannel, [slack.createErrorField(error)], repoBranch)
}

String commentMessage = "Yikes! You better fix it before anyone else finds out! [Build ${buildNumber}](${buildUrl}) has Failed!"
Expand Down

0 comments on commit 16d3ab8

Please sign in to comment.