fun id(id: String)

Sets the id to the specified value. Type of the id depends on the context in which DSL is executed: it is RelativeId when DSL context is relative, otherwise it is AbsoluteId.

open override var id: Id?

Project id. It appears in the web UI and is used in urls. If the project has a uuid specified, then the id can be changed at any time. If uuid is omitted, then TeamCity treats a project with a changed id as a new project, all data associated with the old project will be lost (e.g. investigations). Id can also be used by some settings, e.g. as a part of parameter reference. If you change the id, you should find all its occurrences in the current project and change them too. Id must be unique across all projects on the server. If id is missing, it will be generated from the class name (if the class is not from the jetbrains.buildServer.configs.kotlin package).

See also