TeamCity Cloud 2023.09 Is Here
In TeamCity Cloud 2023.09, we’re introducing the ability to stream files from agents to the log while the build is still running. TeamCity users will also be able to add parameter-based execution conditions thanks to the new ability to report the statuses of preceding build steps.
We’ve also enhanced a number of TeamCity integrations, including Perforce Helix Swarm and Space, among other features.
Let’s take a closer look at what’s new.
Streaming files from agents into the build log while the build is running
Starting from version 2023.09, TeamCity can stream a file on the agent file system into the build log as the log is being updated (i.e., while the build is still running).
You can now send the following service message to start tracking the contents of agent files and streaming the data into the build log:
##teamcity[importData type='streamToBuildLog' filePath='path-to-file' filePattern='pattern' wrapFileContentInBlock='false' charset='UTF-8']
Read more about writing the file into the build log in our documentation.
Reporting statuses of preceding build steps
As of version 2023.09, TeamCity can report the status of the previous build steps in a build configuration.
You can specify IDs for your build steps (similarly to project and configuration IDs). TeamCity will then use these IDs to generate new
teamcity.build.step.status.<step_ID> parameters that report the step exit statuses (“success”, “failure”, or “canceled”).
This feature gives you an opportunity to set up custom conditions of any complexity in your build configuration.
2FA: Reducing excessive authorization requests
Imagine there are several authentication modules configured on the TeamCity server: the built-in one allowing users to log in using username/password and an external authentication provider (GitHub, Hub, SAML, etc.)
In the updated version, if users log into TeamCity using credentials of an external 2FA-protected service, TeamCity checks whether the user has already passed the 2-factor authentication via the external authentication provider. If so, TeamCity won’t request additional authentication. This greatly simplifies the login process while still ensuring security.
Currently, the following authentication providers are supported: GitHub, GitLab, and Bitbucket Cloud.
Enhanced integration with Perforce Helix Swarm
In TeamCity Cloud version 2023.09, we have enhanced the Perforce Helix Swarm publisher of the Commit Status Publisher build feature. Instead of creating its own tests, TeamCity can now reuse workflows and tests that already exist in your Swarm setup.
Automatic publishing of build statuses to Space
With version 2023.09, we continue to enhance the native TeamCity and JetBrains Space integration. TeamCity build configurations that target JetBrains Space repositories do not require a configured Commit Status Publisher build feature for posting updates related to builds. If you establish a TeamCity project through a predefined Space connection, build statuses will be posted automatically.
For the full list of the new features, please refer to the What’s New section in our documentation.
Feel free to share your feedback in the comments below or on the forum. We’ll be happy to help.
Subscribe to Blog updates
Thanks, we've got you!
TeamCity Cloud 2023.07: Major Cloud Profile Improvements, Enhanced Space Integration, and More
The new TeamCity Cloud 2023.07 comes with major cloud profile enhancements, improved TeamCity and Space integration, and more. Read on to learn what's new.
TeamCity Cloud 2023.03 Is Here: Build Cache, Running Steps Only for Failed Builds, Sakura UI Improvements, and More
TeamCity Cloud 2023.03 is now available with numerous improvements and new features. Let's take a closer look at what's new.
TeamCity 2022.10: Sakura UI, Improved Integration With Amazon AWS, Out-of-the-Box HTTPS Support, Google OAuth Authentication, and More.
TeamCity 2022.10 comes with the Sakura UI enabled by default, introduces many cloud-related features including the AWS credentials management system and out-of-the-box terminal access to AWS EC2-based build agents, and adds important improvements to VCS integrations. Server administrators will love the new streamlined way to implement HTTPS for on-premises TeamCity installations. Also, a new authentication module for using Google accounts and a number of long-requested features have been implemented.
TeamCity 2022.04: Parallel Tests, Improved Integration with Amazon AWS, Built-in Code Quality Analysis, Updated VCS Integrations, and more
TeamCity 2022.04 introduces the new Parallel Tests feature that delivers an extraordinary speed boost when testing your projects. New powerful code analysis features will cut the time you spend on code reviews and increase the maintainability of your projects. Users who run their builds in the cloud…