Category Archives: Tips&Tricks

Configuration as Code, Part 6: Testing Configuration Scripts

In this blog post, we are going to look at how to test TeamCity configuration scripts. Getting started with Kotlin DSL Working with configuration scripts Creating build configurations dynamically Extending Kotlin DSL Using libraries Testing configuration scripts Given that the … Continue reading

Posted in Features, How-To's, Tips&Tricks | Tagged , | Leave a comment

Configuration as Code, Part 5: Using DSL extensions as a library

Getting started with Kotlin DSL Working with configuration scripts Creating build configurations dynamically Extending Kotlin DSL Using libraries Testing configuration scripts In the previous post, we have seen how to extend TeamCity’s Kotlin DSL by adding new abstractions. If the … Continue reading

Posted in Features, How-To's, Tips&Tricks | Tagged | 6 Comments

Configuration as Code, Part 4: Extending the TeamCity DSL

Getting started with Kotlin DSL Working with configuration scripts Creating build configurations dynamically Extending Kotlin DSL Using libraries Testing configuration scripts TeamCity allows us to create build configurations that are dependent on one another, with the dependency being either snapshots … Continue reading

Posted in Features, How-To's, Tips&Tricks | Tagged | Leave a comment

Configuration as Code, Part 3: Creating Build Configurations Dynamically

This is part three of the six-part series on working with Kotlin to create build configurations for TeamCity. Getting started with Kotlin DSL Working with configuration scripts Creating build configurations dynamically Extending Kotlin DSL Using libraries Testing configuration scripts We … Continue reading

Posted in Features, How-To's, Tips&Tricks | Tagged | Leave a comment

Configuration as Code, Part 2: Working with Kotlin Scripts

This is part two of the six-part series on working with Kotlin to create build configurations for TeamCity. Getting started with Kotlin DSL Working with configuration scripts Creating build configurations dynamically Extending Kotlin DSL Using libraries Testing configuration scripts In … Continue reading

Posted in Features, How-To's, Tips&Tricks | Tagged | 5 Comments

Configuration as Code, Part 1: Getting Started with Kotlin DSL

Configuration as code is a well-established practice for CI servers. The benefits of this approach include versioning support via VCS repository, a simplified audit of the configuration changes, and improved portability of the configurations. Some users may also prefer code … Continue reading

Posted in Features, How-To's, Tips&Tricks | Tagged | 7 Comments

TeamCity Google Cloud Deployment

It’s official! TeamCity Google Cloud Deployment Manager template is now available on our site as an easy way to deploy the TeamCity server to Google Cloud. The template has been around for some time, and its most recent version provides … Continue reading

Posted in Features, Tips&Tricks | Tagged | Comments Off on TeamCity Google Cloud Deployment

Simplified Installation of Plugins

Installing new plugins has just become a lot simpler! You don’t have to restart the server to enable a newly uploaded plugin anymore. The TeamCity server now integrates with the JetBrains Plugins Repository. The new integration simplifies the installation of … Continue reading

Posted in Blogroll, Features, Tips&Tricks | Tagged , | Comments Off on Simplified Installation of Plugins

New in TeamCity 2018.2: Show Kotlin DSL for Build Configurations

The Kotlin-based DSL is becoming more popular for defining build configurations in TeamCity. We are continuing to improve the user experience for Kotlin, both in the TeamCity UI and the IDE plugin. Once the versioned settings option is enabled for … Continue reading

Posted in Blogroll, Features, Tips&Tricks | Tagged , | Comments Off on New in TeamCity 2018.2: Show Kotlin DSL for Build Configurations

Metadata in Tests

Ever since TeamCity 2018.2, a test run in TeamCity can be associated with some supplementary information (metadata), in addition to a test’s status, execution time, and output. This information can be used to provide things like extra logs, screenshots, numeric … Continue reading

Posted in Blogroll, Features, Tips&Tricks | 5 Comments