TeamCity Agent Unmet Requirements

When a TeamCity configuration is created there are requirements the TeamCity Agent has to meet. The creator of the build configuration can specify Explicit Requirements on the Agent Requirements page of the Build Configuration Settings. When the build configuration is created, TeamCity automatically adds Build Step Requirements. The bottom of the same page shows the list …

Enable Single Sign-On (SSO) in TeamCity

Enable Single Sign-On (SSO) in TeamCity TeamCity can use the Windows Active Directory to authenticate users. To configure TeamCity to automatically log in users who are already logged into the Windows domain enable the Single Sign-On (SSO) functionality. In the upper right corner of the TeamCity web interface select Administration, On the left side in the Server …

Upgrade TeamCity to a new version

Create a backup of the database and the server before the upgrade Place an instance with a maintenance screen in the load balancer, Remove the TeamCity server from the load balancer, Disable the Chef-Client scheduled task and Chef-Client service to make sure Chef does not alter the server during the upgrade. Disable the authorized agents …

Monitor timeouts in TeamCity

TeamCity is a Continuous Integration (CI) tool that enables software development teams to build and test their software. Sometimes the server is too busy to serve the users and the web user interface does not respond in time. TeamCity logs all actions in a log file so we can find the date and time of …

Upgrade TeamCity to version 10

Upgrade TeamCity to version 10 Create a backup of the database and the server before the upgrade Disable the Chef-Client scheduled task and Chef-Client service to make sure Chef does not alter the server during the upgrade. Disable the authorized agents to stop them picking new jobs. Stop the TeamCity process on the server, If …

Obfuscated passwords in TeamCity

Obfuscate the password in the TeamCity UI When a TeamCity build step needs to use a password, there is a way to obfuscate it. In the TeamCity web interface navigate to the project, On the project page open the Parameters page, Click the Add new parameter button, Enter the name of the parameter, the password …

How to rename a TeamCity agent

It is important to keep the TeamCity agent names unique. If you launch a TeamCity agent with a name that is already used by another agent that is connected to the TeamCity server, the new agent will not show up in the Unauthorized agent list. To change the name of an agent, change the “name” value …

Enable user to import projects in TeamCity

It is not enough to belong to the “System Administrator” group to be able to import projects from backup  in TeamCity. The user has to be in the “System administrator” role for the “Root project”. To enable the user to import projects into TeamCity Click the Administration link in the upper right corner In the …