Created
May 31, 2016 21:02
-
-
Save ashleywxwx/42a76c436baabbd871cf7c3a173599ce to your computer and use it in GitHub Desktop.
Configuring Jenkins Job DSL for Slack
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: "[email protected]") { | |
teamDomain('myteam') | |
authToken('mytoken') | |
buildServerUrl('http://mydomain:8080/') | |
room('#my-room') | |
notifyUnstable(true) | |
notifyFailure(true) | |
notifyBackToNormal(true) | |
includeTestSummary(true) | |
commitInfoChoice('AUTHORS_AND_TITLES') | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment