tcWebHooks
tcWebHooks copied to clipboard
TeamCity Webhook is removed if you are using versioned settings
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)
- Create Project
- Create a Webhook
- Use Versioned Settings
- Use kotlin as Settings Format
- check use settings from vcs
- Load porject settings from vcs
- 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?:
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
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.