TeamCity 8.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.

The currently supported VCS are Git, Mercurial, and Subversion. TFS and Perforce are partially supported. The URL formats for auto-discovery are listed below.

VCS URL Formats

VCS

URL Formats

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