TeamCity On-Premises 2023.11 Help

Project

A project in TeamCity is a collection of build configurations. A TeamCity project can correspond to a software project, a specific version/release of a project or any other logical group of the build configurations.
The project has a name, an ID, and an optional description.
In TeamCity, user roles and permissions are managed on a per-project basis.

Project Hierarchy

Projects can be nested and organized into a tree allowing for hierarchical display and settings propagation. The hierarchy is defined by the project administrators and is the same for all the TeamCity users.
You can view the hierarchy on the overview page, in the Projects pop-up menu, and in breadcrumbs.

Settings Propagation

The project hierarchy is used in the following ways:

Settings defined on a project level are propagated to all the subprojects (recursively). These include:

Entities defined in a project become available to all the build configurations residing under the project and its subprojects. These include:

For example, if you want to share a VCS root among several projects, you have to move it to the common parent of all these projects. If a VCS root must be shared among all projects, it must be created in the <Root project>.

A setting referencing a project affects the project and all its subprojects. These include:

Note that associating a project with an agent pool is not propagated to its subprojects and affects only the build configurations residing directly in the project.

Root Project

TeamCity always has a <Root project> as the top of the project hierarchy. The root project has most of the properties of a usual project, and the settings configured in the root project are available to all the other projects on the server.

The root project is special in the following ways:

  • It is present by default and cannot be deleted.

  • It is the top-level project, so it has no parent project.

  • It can have no build configurations.

  • It does not appear in the user-level UI and is mostly present as an entity in Administration UI only.

Last modified: 28 March 2022