There is sometimes a need to define a common build step in a template, so that this step will be executed either before all build configuration steps or after them.
Here’s a simple example. I’m building a lot of typical Maven projects, and for most of the part their build is the same: just run mvn clean package and upload the binaries to the maven repository. However, for some of the builds, I need the additional steps to run in between mvn package and mvn deploy.
In TeamCity, the requirement above can be implemented with the aid of Build Configuration Templates. Starting with version 20
New in TeamCity 2018.1: Inherited build steps configuration improvements
by