Unable to render embedded object: File (TeamCity48.png) not found.

TeamCity 2018.x Documentation

Documentation for Previous Versions


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


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


Since portable scripts don't contain absolute ids, they can be used several times on the same or different TeamCity servers. Since there is no restriction on directory name for project settings, branching and merging configs becomes easier.
Portable DSL for a simple project looks like this:


Code Block
titleSimple Project in Portable DSL
import jetbrains.buildServer.configs.kotlin.v2018_1.*
import jetbrains.buildServer.configs.kotlin.v2018_1.buildSteps.script
import jetbrains.buildServer.configs.kotlin.v2018_1.vcs.GitVcsRoot

project {

object Build : BuildType({
    name = "Build"
    vcs {
    steps {
        script {
            scriptContent = """
                echo 'Hello World'

object Sources : GitVcsRoot({
    url = "https://github.com/me/project.git"


Common Problems

New URL of Settings VCS Root