setting up notification webhook

José Simões's Avatar

José Simões

29 Aug, 2018 02:28 PM

Hi,
I'm trying to setup a webhook for my repo without success.
Becuase the URL contains the access token, I've added the notification in the project definitions (instead of setting it in the yaml file) following other threads about this I found on this forum.

This is a simple json payload that's supposed to be sent.
Could you please take a look and tell me what I'm doing wrong? I can't see any error on the AppVeyor job, but I don't know if it was fired. Also I have no way of checking if it's been received and could be wrongly formatted.

The project is: https://ci.appveyor.com/project/nfbot/nf-interpreter-852pb
The documentation about the webhook is here:
https://discordapp.com/developers/docs/resources/webhook#execute-webhook

Thanks!

  1. Support Staff 1 Posted by Owen McDonnell on 29 Aug, 2018 06:58 PM

    Owen McDonnell's Avatar

    When you say

    I've added the notification in the project definitions

    you mean that you set this in the UI?
    If so, then it will be ignored since you have a configuration file present. Read here

  2. José Simões closed this discussion on 18 Oct, 2018 10:04 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac