Hi
In the last example of https://bitbucket.org/atlassian/slack-notify/src/master/ it shows how to use a payload file
script: - envsubst < "payload.json.template" > "payload.json" - pipe: atlassian/slack-notify:2.0.1 variables: WEBHOOK_URL: $WEBHOOK_URL PAYLOAD_FILE: payload.json
But when I try it, with slack-notify:2.0.1, I get
✖ Validation errors:
MESSAGE:
- required field
Thank you for your question!
We'll fix it in the future release.
Best regards,
Oleksandr Kyrdan
Thanks!
I can confirm having a blank message works as a workaround for now
script: - envsubst < "payload.json.template" > "payload.json" - pipe: atlassian/slack-notify:2.0.1 variables: WEBHOOK_URL: $WEBHOOK_URL
MESSAGE: " " PAYLOAD_FILE: payload.json
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.