New Build Configurations automatically attached to template
So, I have a project (P) with a Subproject. In that subproject (call it SP1), I have a Build Configuration Template defined. In a subproject to that subproject, (SP1.1) I have a Build Configuration that uses the above build configuration template. So far, all is good, and everything works.
Now, I want to add another Build Configuration at the SP1.1 level, but I do not want to attach it to a template. I select "Do not attach to a template" when creating the configuration, however, the template still gets attached to the build configuration. This is the ONLY template attached to the configuration, and the ONLY template I have defined ANYWHERE in this site, and I can not detach the new build configuration from the template. I do not have the "detach" link at the top of the configuration general settings, and I do not get the "Detach Template" in the Actions menu.
I am running TeamCity 2020.1.1, build 78657
Please sign in to leave a comment.
Hello,
Could you please check if the template in question is set as a default template for SP1.1 (https://www.jetbrains.com/help/teamcity/build-configuration-template.html#BuildConfigurationTemplate-Definingdefaulttemplateforproject)? The easiest way to check is to open the configuration of the project and, on the General Settings tab, check if Default template dropdown has anything selected. As per the current version, indeed, default template can not be detached from a build configuration.