Last active
March 23, 2016 17:49
-
-
Save ThisGuyCodes/527ba36d010c738f6463 to your computer and use it in GitHub Desktop.
manual slack notifications jenkins dsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configure { | |
it / 'publishers' / 'jenkins.plugins.slack.SlackNotifier'(plugin: "slack@2.0.1") { | |
teamDomain('prefix') | |
authToken('token') | |
buildServerUrl('http://URL/') | |
room('#ROOM') | |
startNotification(true) | |
notifySuccess(true) | |
notifyAborted(true) | |
notifyNotBuilt(true) | |
notifyUnstable(false) | |
notifyFailure(true) | |
notifyBackToNormal(false) | |
notifyRepeatedFailure(false) | |
includeTestSummary(true) | |
commitInfoChoice('AUTHORS_AND_TITLES') | |
includeCustomeMessage(false) | |
customMessage() | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment