jenkins-os
jenkins-os copied to clipboard
Add trySlackSend function
Fixes errors like these when the Slack notification plugin is not configured:
java.lang.NoSuchMethodError: No such DSL method 'slackSend' found
I only tested this in the Slack not configured state. Will channel = ''
default to the plugin's configured channel?