Category Archives: How-To’s

Getting Started with TeamCity TestDrive

TeamCity is mostly known as an on-premises CI server. But if you want to get a taste of TeamCity, you don’t really need to install it on your servers. Enter TestDrive! TestDrive is a limited cloud TeamCity offering. It is … Continue reading

Posted in Blogroll, How-To's | Tagged , , , | Leave a comment

Building Go programs in TeamCity

TeamCity provides support for multiple technologies and programming languages. In TeamCity 2019.1, support for Go has been included in the distribution. In this blog post, we will explain how to configure TeamCity to work with Go programs. Configuring Golang build … Continue reading

Posted in Blogroll, Features, How-To's | Tagged , , , | 2 Comments

Building GitHub pull requests with TeamCity

The support for pull requests in TeamCity was first implemented for GitHub as an external plugin. Starting with TeamCity version 2018.2 the plugin is bundled in the distribution package with no need to install the external plugin. The functionality has … Continue reading

Posted in Blogroll, How-To's | Tagged , , , , , | 4 Comments

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

Webinar: Getting Started With Building Plugins For Teamcity

Missing a feature in TeamCity? Build your own plugin! To learn how, join us Tuesday, April 30th, 16:00 CEST (11:00 AM EDT) for the Getting Started with TeamCity Plugins webinar. The webinar introduces you to the ins and outs of … Continue reading

Posted in How-To's, Webinar | 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 | 4 Comments