| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <project> |
| 3 | <publishers> |
| 4 | <jenkins.plugins.slack.SlackNotifier> |
| 5 | <teamDomain>teamname</teamDomain> |
| 6 | <authToken>yourauthtoken</authToken> |
| 7 | <authTokenCredentialId>yourauthtokenid</authTokenCredentialId> |
| 8 | <buildServerUrl>http://localhost:8081</buildServerUrl> |
| 9 | <room>#builds</room> |
| 10 | <startNotification>true</startNotification> |
| 11 | <notifySuccess>true</notifySuccess> |
| 12 | <notifyAborted>true</notifyAborted> |
| 13 | <notifyNotBuilt>true</notifyNotBuilt> |
| 14 | <notifyUnstable>true</notifyUnstable> |
| 15 | <notifyFailure>true</notifyFailure> |
| 16 | <notifyEveryFailure>true</notifyEveryFailure> |
| 17 | <notifyBackToNormal>true</notifyBackToNormal> |
| 18 | <notifyRegression>true</notifyRegression> |
| 19 | <notifyRepeatedFailure>true</notifyRepeatedFailure> |
| 20 | <includeTestSummary>true</includeTestSummary> |
| 21 | <includeFailedTests>true</includeFailedTests> |
| 22 | <commitInfoChoice>AUTHORS_AND_TITLES</commitInfoChoice> |
| 23 | <includeCustomMessage>true</includeCustomMessage> |
| 24 | <customMessage>A custom message.</customMessage> |
| 25 | <customMessageSuccess>A custom message for sucessful builds.</customMessageSuccess> |
| 26 | <customMessageAborted>A custom message for aborted builds.</customMessageAborted> |
| 27 | <customMessageNotBuilt>A custom message for not-built.</customMessageNotBuilt> |
| 28 | <customMessageUnstable>A custom message for unstable builds.</customMessageUnstable> |
| 29 | <customMessageFailure>A custom message for failed builds.</customMessageFailure> |
| 30 | <authTokenCredentialId>yourauthtoken</authTokenCredentialId> |
| 31 | <botUser>true</botUser> |
| 32 | <baseUrl>https://hooks.slack.com/services/</baseUrl> |
| 33 | </jenkins.plugins.slack.SlackNotifier> |
| 34 | </publishers> |
| 35 | </project> |