The CHANGELOG is now maintained on the GitHub releases page: https://github.com/jenkinsci/slack-plugin/releases
- Clarify the messaging around the failure notification options PR #519
- Add additional logging for notification conditions PR #516
- Introduce maven-checkstyle-plugin to validate no star imports PR #521
- Fix migration - credentials weren't being saved PR #513
- Use correct scope for migrated credential PR #515
- Remove 1.8 migration code and SlackJobProperty PR #514
- java.lang.NumberFormatException: When using parametrized scheduler PR #510
- Integration token text removed from global configuration, it will be automatically migrated into a credential for you. There's upcoming changes for jobs and pipelines in this area as well PR #493
- Add null check to extractReplaceLinks PR #497
- Remove overriding plugin pom config PR #492
- Remove deprecated code PR #491
- Bump baseline and parent pom PR #485
- IntelliJ automatic code cleanup PR #484
- Remove token botUser hack PR #483
- Allow broadcasting thread messages to the channel PR #473
- Fix UI fields PR #471
- Fixed constructor of SlackJobProperty PR #468
- Adding null check on custom message PR #466
- Always runAfterFinalized PR #462
- Added note for Global Slack Notifications PR #470
- Revert 'Don't publish twice, while the build isn't finished yet' PR #457
- Move optional params to setters and fix constructor compatibility PR #452
- Don't publish twice, while the build isn't finished yet PR #446
- Fix compatibility for getBotUser PR #449
- Make pipeline response object safer PR #439
- Pipeline response object (threading enhancement) PR #429
- Add message when attachments are present PR #426
- slack send should not require message PR #434
- Re-enable windows tests on CI PR #424
- Support JCasC PR #404 JENKINS-53641
- Add Token Macro support PR #401
- Add slash command support PR #345
- Add thread support PR #377
- [JENKINS-50706] Fix permission check for credentials checkbox PR #372
- [JENKINS-37339] Prevent NPE after plugin installation PR #403
- [JENKINS-53450] Rename the variable that fails the tests on Windows PR #394
- added @DataBoundSetter for includeTestSummary PR #393
- Reduce verbosity for standard case when the migrator does nothing PR #395
- Create Jenkinsfile PR #405
- slack outgoing webhook isn't working PR #344
- integration credential logging removed PR #407
- jackson-databind -> 2.8.11.2, PR #400
- Parent pom update, new jenkins baseline (2.60.3) and java 8 required PR #406
- Send more advanced slack messages v2 PR #324
- Stop log spam PR #316
- Implement bot-user support (#258)
- Use DataBoundSetter for optional params (#236, #232)
- Add
Include failed Tests
(#166) - Add display failed tests option to slack notifications on job configuration (#275)
- Add baseUrl parameter to support slack-compatible integrations like Mattermost or Rocket Chat (#293)
- Regression notification implemented (#294)
- Fix #126 Replace
<a>
tags with Slack<link|name>
(#222, #126) - Fix #188 Fixes for configuration migration from 1.8 to 2.0 (#202, #188)
- Changed calculation of
Back to normal
time (#228, #225) - Only send
Back to normal
ifNotify Back To Normal
is enabled (#164) - Add custom message for manually triggered builds on build start (#162)
- Fix #62 by excluding empty affected files collection (#197, #62)
- Moved message to
text
instead offields
to resolve truncated message issue (#274)
- Added Jenkins Credentials support (#247)
- Added support for display-url-api; will allow Blue Ocean to change display URLs (#245)
- Added support for @here and other @mentions (#241)
- Reduced log verbosity (#252)
- Updated
@Extension
ordinal value to force earlier migration process (#261)
- Added credentials selection widget (#247)
- Fixes for Security issue JENKINS-35503 (#247)
- Fixed documentation for Pipeline step (#220)
Bug Fixes:
- Set webhook endpoint to random uuid based string if not set (PR # 190)
- Upgrading to Slack 2.0 outbound webhooks breaks Jenkins (#191)
- Adding configurable webhook endpoint for exposing jenkins commands with a Slack outgoing-webhook (#160)
- Added Jenkins Pipeline support via custom step
slackSend
. (#167)
- Job level configuration was moved under post-build actions with support for migration from previous versions. (#79, #170)
- Use Subdomain instead of Domain (#168)
- Notify for repeated failures doesn't work (#136)
- Workflow plugin integration (#50)
- "Back to normal" message duration is build duration rather than time the job has been broken for (#129)
- [FIXED JENKINS-30559] Dropdown list to select commit info for notifications (#133)
- Fix double start message when build is manually started (#96, #137)
- "success" instead of "back to normal" after aborted build (123)
- Doesn't support the Jenkins Inheritance plugin (#6)
This is a backport release which backports features originally intended for slack-2.0 release. This is meant as a nice fix for people missing critical bugs. Thanks @Nooba for taking the time to backport all of the changes. Since new features listed here will also be included in the slack-2.0 release I'm not going to bother mentioning them in the slack-2.0 release at all.
- Allow simple markup formatting in custom messages. (#127)
- Improves custom message help text. (#97)
- Allow parallel builds. (#122)
- Use textarea for customMessage. This allows custom messages to have new lines. (#103)
- Set test connection message color correctly. (#101)
- Fix publish to multiple rooms. Add unit tests. (#98, #100)
- Include custom message when changes are found. (#95)
- Option to add a custom message (#49, #78)
- Build Server URL defaults to Jenkins URL when the slack plugin is first configured (#42, #90)
- Move
Test Connection
button in slack job config to the advanced section (#64) - Improvements to
Test Connection
button. It now provides feedback in the Jenkins UI when it succeeds or fails to connect to the slack instance (#51, #81)
- Improve 'started' message with proper cause (#37)
- The separator for specifying posting to multiple slack channels is more robust. It now allows spaces, commas, and semicolons as a separator (#56)
- Notifications start with full project name when using Cloudbees folders plugin. This includes the folder and the project in the notification (#61)
- Search upstream causes when gathering commit list (#67)
- Change repeated failure message improvement with
Still Failing
. Makes it easier to understand if it is the first or repeated failure in a build (#77) - Add unit tests for
doTestConnection
method (#82, #84)
- Fix
Include Test Summary
andNotify Repeated Failure
options being reversed when saving settings in the UI (#63) - Change
.getPreviousBuild()
to allow for higher concurrency (#70) - Solve
java.lang.NoClassDefFoundError
when running unit tests (#82, #83) - Adding ability for environment variables and parameters (#31, #80, #89)
- Advanced settings
- Team domain and token can be specified per project; falls back to global config if not specified (#19)
- Post a list of commits with the build notification (title and author of commit) (#30, #44, #45)
- Include JUnit test summary in build notifications (#25)
- Use colors when sending a message using slack (#20, #24). Also, the start notifications use the color of the last build result (#43)
- Support for authenticated proxies (#14)
- Test Connection button (#46, #28)
- Option to disable subsequent notifications on build failures (#46, #15)
- Report 'return to normal' on transition from unstable to success (#21).
- Improved logging.
- When changing the global slack settings the slack config in jobs are updated as well (#26, #12)
- Fix NullPointerException and output log message if slack is not configured (#35, JENKINS-26066)