Closed itnazeer closed 4 years ago
Hi @itnazeer,
You can set the attributes at project or framework level
For example:
project.plugin.Notification.SlackNotification.webhook_base_url=https://hooks.slack.com/services
project.plugin.Notification.SlackNotification.webhook_token= T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
I have added in framework properties and restarted the the rundeck service, though I can't see slack notification enabled on jobs.
Any error on service.log?
@itnazeer You have to enable notification on individual jobs.
If you leave the fields for WebHook Base URL, WebHook Token and Slack Channel blank it will use the values from framework.properties.
If you provide values for any of those fields, it will take precedence over what is specified in framework.properties. This can come in handy for testing or for jobs that should notify a channel other than the default.
Closing as workaround/solution provided. Let us know or re-open if you have having the same issue.
So, I have to update every job to which channel it need to send notification, need to webhook url, token id in every job. Can we do this global instead of adding webhook url, token id etc in every job? please suggest on this.