TeamCity
 
You are viewing the documentation for an earlier version of TeamCity.

Subversion

Last modified: 20 April 2023

This page contains descriptions of the fields and options available when setting up VCS roots using Subversion:

You do not need Subversion client to be installed on TeamCity server or agents. TeamCity bundles Java implementation of SVN client (SVNKit).

SVN Connection Settings



SSH settings



Checkout on agent settings



Labeling settings



Authentication for SVN externals



TeamCity doesn't allow to specify SVN externals authentication parameters explicitly, in user interface. To authenticate on the SVN externals server, the following approaches are used:

  • authenticate using same credentials (username/password) as for main repository

  • authenticate without explicit username/password. In this case, credentials should be already available to svn process (usually, they stored in subversion configuration directory). So, this require setting correct "Configuration Directory" or "Default Config Directory" option under svnConnectionSettings

When TeamCity has to connect to a SVN external, it uses the following sequence:

  • if SVN external URL has the same prefix, as the main repository (there is a match > 20 characters), TeamCity tries main repository credentials first, and if failed, tries to connect without username/password (so they picked up from SVN configuration directory)

  • if SVN external URL noticeably differs from the main repository, TeamCity tries to connect without username/password, and if failed, tries using credentials from the main repository