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.
Comment: related to https://youtrack.jetbrains.com/issue/TW-56408

...

Note

To get familiar with Kotlin API, see the online documentation on your local server, accessible via the link on the the Versioned Settings project  project tab in the UI or by running the the mvn -U dependency:sources command  command in the IDE.  See the documentation on the public TeamCity server as an an example.

The documentation is generated in in a background process after the server restart and separate Java process and might take several minutes to buildbuild after the server restartSee the documentation on the public TeamCity server as an an example. By default, the process is started with Xmx 378m, but for 64-bit version you may need to increase the value (e.g. to 768m) by changing the following internal property teamcity.kotlinConfigsDsl.docsGenerationXmx=768m

You can also use the the Download settings in Kotlin format option  option from the project project Actions menu menu. For instance, you can find a project that defines some settings that you want to use in your Kotlin DSL project and use this "download" action to see what the DSL generated by TeamCity looks like.

...