Re: [go-cd] Wehbook notification plugin

2024-02-19 Thread Chad Wilson
Good to hear! On Tue, 20 Feb 2024, 07:06 Sylvain Fabre, wrote: > Thanks for your answer ! > After digging a bit, we discovered that Mattermost webhooks are compatible > with Slack ones. We tested the plugin you mentionned above and ... it works > : > > Thanks ! > (and so it means that the

Re: [go-cd] Wehbook notification plugin

2024-02-19 Thread Sylvain Fabre
Thanks ! In fact the Slack notification plugin is doing the job, you are right ! Le lundi 19 février 2024 à 17:21:48 UTC+1, Chad Wilson a écrit : > That's not necessarily true. All the error tells us is that the plugin > couldn't handle a particular request type from the server. We need to

Re: [go-cd] Wehbook notification plugin

2024-02-19 Thread Sylvain Fabre
Thanks for your answer ! After digging a bit, we discovered that Mattermost webhooks are compatible with Slack ones. We tested the plugin you mentionned above and ... it works : Thanks ! (and so it means that the "Slack notification plugin" can also be tagged as "Mattermost notification plugin

Re: [go-cd] Wehbook notification plugin

2024-02-19 Thread Chad Wilson
That's not necessarily true. All the error tells us is that the plugin couldn't handle a particular request type from the server. We need to know which request type to know if that is a problem. From the gocd-server.log you should look at the log lines before the stack trace - the ones with

Re: [go-cd] Wehbook notification plugin

2024-02-19 Thread Sylvain Fabre
Well in fact this log comes from the go-server.log file, but I have a full error in the log of the plugin itself : 2024-02-19 13:49:34,811 ERROR [qtp1928054064-42] WebhookNotifierPlugin:127 - Failed to refresh configuration java.lang.NullPointerException: Cannot invoke

Re: [go-cd] Wehbook notification plugin

2024-02-19 Thread Chad Wilson
If that error message comes after a log like WARN Error notifying plugin - with settings change but the plugin otherwise works OK, then you can probably ignore it. There are some optional request types that some plugins don't implement (and don't need to implement), but they don't always

Re: [go-cd] Wehbook notification plugin

2024-02-19 Thread Sylvain Fabre
Sure ! Here is the log when we add a hook URL in the plugin configuration : Caused by: java.lang.RuntimeException: java.lang.NullPointerException: Cannot invoke "net.getsentry.gocd.webhooknotifier.Request.ordinal()" because the return value of "net.getsentry.gocd.we

Re: [go-cd] Wehbook notification plugin

2024-02-19 Thread Chad Wilson
Does that plugin really not work? I note the repo has recently been archived, but the plugin was updated relatively recently in 2023 and there haven't been any changes in those plugin APIs for quite a while to my knowledge - nor removal of old versions of the (plugin API) extension points. In

Re: [go-cd] Wehbook notification plugin

2024-02-19 Thread 'Ashwanth Kumar' via go-cd
I would be happy to provide the necessary support that's needed. Let's connect offline. Sending you a message shortly. Thanks, On Mon, Feb 19, 2024, 18:16 Sylvain Fabre wrote: > Hi there ! > > GoCD is a great tool, and we would like now to send Webhook notifications > to our Mattermost

[go-cd] Wehbook notification plugin

2024-02-19 Thread Sylvain Fabre
Hi there ! GoCD is a great tool, and we would like now to send Webhook notifications to our Mattermost server. It seems that this plugin https://github.com/getsentry/gocd-webhook-notification-plugin used to do the job, but it does not work anymore with latest GoCD releases. Do you know if