currently only one slack_webhook url is allowed in a pipeline.
overriding it in task does not work. thus cannot send message
to multiple slack webhooks.
vars:
# required for slack_executor plugin to work
slack_webhook: 'https://some-url-a'
actions:
- type: slack
message: ""
# this won't work, will still using top level one
slack_webhook: 'https://some-url-b'
this PR enables overriding slack_webhook at task level, allowing
sending message to different slack webhooks in one pipeline. if
slack_webhook parameter is absent at task level, the plugin will
still try to use the top level one.
currently only one
slack_webhook
url is allowed in a pipeline. overriding it in task does not work. thus cannot send message to multiple slack webhooks.this PR enables overriding slack_webhook at task level, allowing sending message to different slack webhooks in one pipeline. if slack_webhook parameter is absent at task level, the plugin will still try to use the top level one.