Skip to content

Microsoft TFS (Team Foundation Server) - Process Steps

Import Version

Import a new version from Team Foundation Server.

This step has no input properties.

Roles in the Team Foundation Server (TFS) plug-in

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

TFSComponentProperties

NameTypeDescription
Build DefinitionStringThe names of one or more build definitions to monitor for new builds. Separate each definition with a newline.
Build QualityStringA rating used to limit imports to builds with a specific build quality. Only builds with the specified rating are imported.
Build StatusEnumeration:
The status that a build must have before it can be imported. Only builds with the selected status are imported.
Directory OffsetStringThe offset is relative to the base directory of the build artifacts.
File ExcludesStringA list of file patterns to exclude from the component. List each pattern on a separate line.
File IncludesStringA list of file patterns to include in the component. List each pattern on a separate line. To include all files, do not specify a value or type **/*.
Prepend Build Definition to VersionBooleanAdd the build definition name as a prefix to the version name.
Preserve Execute PermissionsBooleanFor Linux and UNIX operating systems, enable this property to retain the execute permissions for each file.
TFS PasswordPasswordThe password associated with the specified user to access the TFS.
TFS Team ProjectStringThe name of the TFS team project where the build definition is stored.
TFS URLStringThe URL of the TFS server.
TFS UsernameStringThe user name for the account that has access to the TFS.
Text File ExtensionsStringTo convert text-type files into another character set, list 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.

TFSImportProperties

NameTypeDescription
Build DefinitionStringThe build definition to import a specific build along with the build number or build URI.
Build NumberStringA build number to import a specific build. You must also specify the build definition in the Build Defintion property field.
Build URIStringA build URI to import a specific build. It must be in the form of vstfs:///Build/Build/176. You must also specify the build definition in the Build Defintion property field.