tcplugins / tcWebHooks

WebHooks plugin for Teamcity. Supports many build states and payload formats.
https://netwolfuk.wordpress.com/category/teamcity/tcplugins/tcwebhooks/
155 stars 30 forks source link

Plugin completely broken in newest TeamCity #200

Closed fury22pl closed 2 years ago

fury22pl commented 2 years ago

With TeamCity 2022.04 the plugin is no longer usable. It installs correctly for both this one and the REST API one, but trying to create new webhook template is impossible. The button to create it doesn't do anything. That applies to both copying template and creating brand new one. I need custom JSON payload, but that's totally impossible as all confirmation buttons do not work.

netwolfuk commented 2 years ago

Hi @fury22pl Which version of the plug-in are you using? Have you restarted TeamCity since installing the plug-in? TeamCity doesn't enforce this, but it is required.

fury22pl commented 2 years ago

Yup, that was it - the restart helped. Sorry to bother you. My fault. Maybe worth adding some warning to the plugin code at some point.

netwolfuk commented 2 years ago

Yeah. I've been trying to figure out if there is a way to determine the uptime of TeamCity versus the plug-in. If they're wildly different then recommend a restart. When the plug-in starts, I can't tell if it's the first time unless I create some sort of flag somewhere.

I'll keep thinking about it.

I'll close this ticket.