Add support for custom messages per build result in the Slack
notification plugin.
Change-Id: Iafc8b67528914c6d14c78f72aa535a3cfa7f7033
Story: 2007912
Task: 40315
The slack plugin added the "includeFailedTests" and "notifyRegression" options.
This review adds those two options, along with unit tests for them.
Change-Id: I256933d3d25c09c72c688928e9068fe66f23055b
This patch is adding 3 more parameters into the slack publisher which
were added in the Slack Plugin v2.1 and v2.2.
Change-Id: Ief0e0128e7dc9c506aca574cf1550274c318c143
Signed-off-by: Jiri Tyr <jiri.tyr@gmail.com>
Slack Plugin 2.0 changed its configuration structure, and no longer
puts any configuration in properties section, instead puts all
configuration in publishers section. This commit will check the plugin
version, and if it detects version >= 2.0, it will put additional
configurations in publishers section. If it detects version < 2.0 or
did not detect version (happens when run in test mode without
specifying actual Jenkins instance), it will emit warning logs and not
add those configurations.
Change-Id: I6d7d92a5a6fd1ceff9b67721d6e401f2772d0575
Signed-off-by: Ryo Tagami <rtagami@airstrip.jp>