TeamCity 9.0 Help

Guess Settings from Repository URL

Since TeamCity 8.1, TeamCity can automatically discover the VCS type and settings from the repository URL.

When configuring a VCS root, select the Guess from Repository URL option from the drop-down and specify the URL. TeamCity will recognize the URL for a supported version control and will create a VCS root automatically. After the VCS Root is created, you can modify its settings using the Project Settings or Build Configuration Settings page.

The currently supported VCS are Git, Mercurial, and Subversion.

TFS and Perforce are partially supported.

VCS URL Formats

VCS

URL Formats

Git

  • http(s) urls

  • git://

Mercurial

Subversion

TFS

  • http url: http://<tfs server>:<port>/<collection name>$/<project path>

  • https url for MS Visual Studio Online: https://<url to visualstudio.com>/DefaultCollection$/<project path>. Also see the related blog post.

Perforce

Vault

http(s) urls from Vault SourceCode Control web which contain "repid" parameter, e.g.

CVS

no support yet

ClearCase

no support yet

Last modified: 20 April 2023