Skip to content

Microsoft TFS_SCM (Team Foundation Server) - Settings

Import Version

Import a new version from TFS_SCM

This step has no input properties.

Roles in the TFS_SCM plug-in

The plug-in adds these roles automatically to resources. You cannot add these roles manually.

TFS_SCMComponentProperties

NameTypeDescription
Collection URLStringThe URL of the Team Foundation Server (TFS) or Visual Studio Online (VSO) collection, for example: https://{username}``.visualstudio.com/DefaultCollection.
Extensions of files to convertStringIf text-type files must be converted into another character set, type the list of file extensions to be converted. Matching file types are converted into the default or system character set of the system where the agent is located. Separate list items with commas.
Local Workspace FolderStringThe path to the local workspace folder of the computer with the agent. If the folder does not exist, it is created to the specified path. This value is only used if the Workspace property is specified. Otherwise, a temporary folder will be created in the agents working directory.
PasswordPasswordThe password for the account that has access to the Team Foundation Server or Visual Studio Online repository.
Path to tf.exe or tf.cmdStringThe full path to the tf.exe or tf.cmd file that comes with Visual Studio or Team Explorer Everywhere. If a value is not specified, the tf executable file must be available on the agent PATH statement.
Preserve execute permissionsBooleanFor Linux and UNIX operating systems, retain the execute permissions for each file.
Server Project FolderStringThe path variable to the project folder on Visual Studio Online or the Team Foundation Server server.By default, this variable is $/ followed by the name of the project.
UserStringThe user name for the account that has access to the Team Foundation Server or Visual Studio Online repository.
WorkspaceStringTThe name of the Team Foundation Server or Visual Studio Online workspace. To get a list of workspace namesfrom the server, run the following command: TF workspaces /server:Repository_URL /login:user,password.For Visual Studio Online, alternate authentication credentials must be enabled.

TFS_SCMImportProperties

NameTypeDescription
ChangesetStringOptional: The version integer of the Team Foundation Server changeset to load.
LabelStringOptional: The name of the version label to load.