Icon

You are viewing the documentation of TeamCity 2018.x, which is not the most recently released version of TeamCity.
View this page in the latest documentation or refer to the listing to choose the documentation corresponding to your TeamCity version.

 

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To use an external library in your Kotlin DSL code, add a dependency on this library to the .teamcity/pom.xml file in the settings repository and commit this change so that TeamCity detects it. Then, before starting the generation process, the TeamCity server will fetch the necessary dependencies from the Maven repository, compile code with them, and then start the settings generator.

FAQ and Common Problems

Anchor
nonUniformIDs
nonUniformIDs

Why portable DSL requires the same prefix for all build configuration IDs?

anchor 

nonUniformIDs nonUniformIDs

In TeamCity projects, templates, build configurations and VCS roots all have unique IDs. These IDs usually look like:

...

Panel
bgColor#FFFFFF
borderStyledashed

Administrator's Guide: Storing Project Settings in Version Control