-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to select subprojects in webhook configuration #117
Comments
Out of interest, how many levels do you have? We typically have about 3 projects deep as maximum, so I am just trying to determine what the ux might look like. |
at the moment, bigger nested case on our sistem includes 5 level of nested projects |
With our system it is up to 3. We are facing the same problems, we want to add a webhook at the root level. Currently we cannot test this as the subprojects are not found at all. We are currently using TeamCity 2017.2.2 |
Hi @huehnerlady It looks like you're trying to setup a webhook in a project that has no builds configured. Or are you adding a webhook at the root level? |
Just try clarify. @huehnerlady |
Assuming we can get this list of builds working for you, we should be able to configure a filter to prevent the webhook from triggering on certain scenarios. I'll do some testing and provide an example configuration. |
https://github.com/tcplugins/tcWebHooks/wiki/Applying-Filtering-Criteria-To-WebHook-Execution Currently they need to be edited in the config file, but editing in the UI is on the road map for the 1.2 release. |
Note: It appears that using the test button in the webhook UI ignores the filter match, and sends the webhook anyway. This is a bug, although you can't actually see that, due to the builds list not being populated correctly. @huehnerlady Do you have your teamcity located at a different context in Tomcat? eg, something like |
Expected Behavior
Using nested subproject definitions, I would like to define a webhook configuration at the top (e.g. _Root) and select only nested project that we require.
In this way, we can reduce duplications in different subproject that use same channel/url
Current Behavior
No possibility to select nested subprojects; only one level of nesting is allowed to share same configuration
The text was updated successfully, but these errors were encountered: