31adb51721
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>
4 lines
78 B
YAML
4 lines
78 B
YAML
- longName: 'Slack Notification Plugin'
|
|
shortName: 'slack'
|
|
version: "2.0"
|