Build configuration templates in TeamCity
In this topic, you will learn how to create Build configuration templates. Main benefit of using templates is that you can create new build configurations very quickly.
You can create Build configuration templates in 2 ways.
- Extracting template from existing build configuration
To add a template manually, you have to go to the project settings page and then click on create a new build configuration template as shown in below image.
Below image shows how to create a new Build configuration template by extracting it from existing build configuration.
Once new template is created, it is displayed under project from where it is extracted as shown in below image. We can copy, move or delete the template from here.
Deleting a template is not allowed if that template is referenced by any build configuration. To delete such templates, you need to detach it from any builds that are using it as shown in below image.