In this section, we will be looking at the different features that TeamCity provides for a proper CD and deployment pipeline setup. We will also be exploring how certain features encourage the best practices of CD, and some of the not-so-best practices.
A view of the deployment pipeline, visualized as build configurations and projects, is shown in the following screenshot:
Here, the initial steps for a standard CI setup are grouped under the CI project. The steps to deploy to different environments (except for the CI environment) are moved to separate projects. Generally, deployments have multiple steps, such as deploying to multiple servers, running sanity tests after doing the deployment, and so on. This warrants separate projects for them.