tcplugins / tcWebHooks

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

TeamCity Webhook is removed if you are using versioned settings #232

Closed Super8film87 closed 5 months ago

Super8film87 commented 9 months ago

Expected Behavior

If I reload my teamcity configuration using versioned settings with Kotlin, I expect that I'm able to store it.

Current Behavior

Currently, when I reload a project, it is displayed in the UI but it is no longer available and it causes a UI error.

Steps to Reproduce (for bugs)

  1. Create Project
  2. Create a Webhook
  3. Use Versioned Settings
  4. Use kotlin as Settings Format
  5. check use settings from vcs
  6. Load porject settings from vcs
  7. Webhook is gone

Your Environment

netwolfuk commented 9 months ago

I think this is related to #229
I have some workarounds that I need to publish as a new release. The workaround is to reload the webhooks when edited, so that you can force the plugin to rediscover the webhooks configured.

However the underlying problem is that changes to VCS config are not noticed by the tcWebHooks plugin. I have raised an issue with Jetbrains

netwolfuk commented 5 months ago

If you get a chance can you please test https://github.com/tcplugins/tcWebHooks/releases/tag/v2.0.1 I am pretty sure this will now be resolved.