The following is in the TeamCity document :
- You can create new assembly configurations based on a template.
- You can associate any number of existing assembly configurations with a template: there is an option “Associate with template” using the Actions button in the upper right corner of the screen.
So, Option 1 , you have to go through each assembly configuration, disconnect from the old template and connect to the new one.
Option 2 , which you might want to consider, is to modify an existing template with new settings instead of creating a copy. This can be convenient if you plan to use only one template.
Option 3 - use the TeamCity API , which allows you to read, disconnect and attach the assembly configuration from / to the template:
GET/DELETE/PUT http://teamcity:8111/httpAuth/app/rest/buildTypes/<buildTypeLocator>/template
Rod
source share