tcWebHooks icon indicating copy to clipboard operation
tcWebHooks copied to clipboard

TeamCity Webhook is removed if you are using versioned settings

Open Super8film87 opened this issue 1 year ago • 1 comments

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

  • tcWebHooks Version: 1.2.5
  • TeamCity Version: 2023.05.04 build 129421
  • TeamCity server Operating System:
  • Are you using a WebHook Template?:

Super8film87 avatar Jan 16 '24 14:01 Super8film87

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 avatar Jan 17 '24 21:01 netwolfuk

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.

netwolfuk avatar May 25 '24 08:05 netwolfuk