New Features:
- 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)
Bug Fixes:
- 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)
New Features:
- 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)
UI Improvements:
- Added credentials selection widget (#247)
Bug Fixes:
- 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)
New Features:
- Adding configurable webhook endpoint for exposing jenkins commands with a Slack outgoing-webhook (#160)
- Added Jenkins Pipeline support via custom step
slackSend
. (#167)
UI Improvements:
- Job level configuration was moved under post-build actions with support for migration from previous versions. (#79, #170)
- Use Subdomain instead of Domain (#168)
Bug Fixes
- 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.
New Features:
- Allow simple markup formatting in custom messages. (#127)
UI Improvements:
- Improves custom message help text. (#97)
Bug fixes:
- 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)
New Features:
- Option to add a custom message (#49, #78)
- Build Server URL defaults to Jenkins URL when the slack plugin is first configured (#42, #90)
UI Improvements:
- 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)
Improvements:
- 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)
Bug fixes:
- 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)
New features:
- 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)
Improvements:
- Report 'return to normal' on transition from unstable to success (#21).
- Improved logging.
Bug fixes:
- 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)