Unable to render embedded object: File (TeamCity48.png) not found.

TeamCity 2018.x Documentation

Documentation for Previous Versions

Icon

You are viewing the documentation of TeamCity 2018.x, which is not the most recently released version of TeamCity.
View this page in the latest documentation or refer to the listing to choose the documentation corresponding to your TeamCity version.

 

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add notes about Azure DevOps

...

This page contains descriptions of the fields and options available when setting up a VCS root to connect to Microsoft Team Foundation Server Version Control.
Common VCS Root properties are described here.

When connecting to a Visual Studio Team Services Azure DevOps Git repository, select Git as Type of VCS. 

...

Option

Description

URL

Team Foundation Server URL in the following format:

TFS 2010+: http[s]://<TFS Server><host>:<Port><port>/tfs/<Project Collection Name> <collection>
TFS 2005/2008: http[s]://<TFS Server>:<Port>TFS 2005/2008: http[s]://<TFS Server>:<Port>
Visual Studio Team Services<host>:<port>
Azure DevOps: https://dev.azure.com/<organization>
VSTS: https://<accountname>.visualstudio.com

Anchor
tfsRootOptionDescription
tfsRootOptionDescription
Root

Specify the root using the following format: $<project name><project catalogue>

Anchor
tfsUsernameOptionDescription
tfsUsernameOptionDescription
Username

Specify a user to access Team Foundation Server. This can be a user name or DOMAIN\UserName string.
Use blank to let TFS select a user account that is used to run the TeamCity Server (or Agent for the agent-side checkout).

Anchor
tfsPasswordOptionDescription
tfsPasswordOptionDescription
Password

Enter the password of the user entered above

Learn more about authentication in Visual Studio Team Services Azure DevOps.

Anchor
tfsCheckoutSubdirectory
tfsCheckoutSubdirectory

...

The created TFS workspaces are automatically removed based on the timeout configured via the the teamcity.tfs.workspace.idleTime build agent property , set to the default value of  1209600  sec (2 weeks).

...

Anchor
vsts
vsts
Anchor
teamFoundationServerLive
teamFoundationServerLive
Anchor
VisualStudioOnline
VisualStudioOnline
Anchor
azure-devops
azure-devops

The following authentication options are available in Visual Studio Team ServicesAzure DevOps.

Excerpt

Personal Access Tokens

To use access tokens, you need to create a personal access token in your Visual Studio Team Services Azure DevOps account, where you have to set some Code access scope in your repositories and use it when configuring a VCS root.

OptionDescription
UsernameLeave blank for TFVC, any value for Git, e.g. username
PasswordEnter your personal access token created earlier

Required Access Scope

TFS subsystemScopes
TFVCAll scopes
GitCode (read) / Code (read and write) for versioned settings
Work ItemsWork items (read)
Commit StatusCode (status)

Alternate Authentication Credentials

To use the login/password pair authentication, you have to enable alternate credentials in your Visual Studio Team Services accountyour Azure DevOps account, where you can set a secondary username and password to use when configuring a VCS root.

Anchor
NTLM/Kerberos on Linux and Mac OS X
NTLM/Kerberos on Linux and Mac OS X

...