Skip to end of metadata
Go to start of metadata

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. 

VCS URL Formats

VCS

URL Formats

Git

  • http(s) urls
  • git://

For SSH authentication, create a VCS Root from a URL first and then open its settings to specify the SSH key to be used. Alternatively, create a Git VCS Root manually. 

Mercurial

Subversion

TFS

Recommended URL formats:

  • http[s]://<tfs server>:<port>/<collection name>$/<project path>
    http[s]://<tfs server>:<port>/tfs/<collection name>/<project name>
    for example: http://tfshost:8080/tfs/DefaultCollection$/Project/root  

  • for Visual Studio Team Services:
    https://<url to visualstudio.com>/<project name> or
    https://<url to visualstudio.com>/$/<project path>
    for example: https://username.visualstudio.com/Project

See the related blog post as well.

Perforce

Vault

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

CVS

no support yet

ClearCase

no support yet

  • No labels