Adding TFS Source Control Profiles

To add a TFS source control profile, the Microsoft Visual Studio Team Explorer Everywhere 2015 command-line client (English version) needs to be installed on the front-end server and every execution server on which you want to use the source control profile. You can download the CLC from the Microsoft GitHub repository. You must run Team Explorer Everywhere and accept the license agreement to make the integration work. For more information, refer to this knowledge base article.

Note: If your TFS project has a Git repository configured, you have to create a Git source control profile instead of a TFS source control profile. Use . as the user name and a token that you have generated in TFS as the password for the Git profile. For additional information on creating a Git source control profile, see Adding Git Source Control Profiles.

To create a TFS source control profile:

  1. In the menu, click Project:<Project Name> > Project Settings .
  2. Click the Source Control tab. The Source Control page opens, listing all of the source control profiles that have been created for the system.
  3. Click New Profile to open the New Source Control Profile dialog box.
  4. Type a Name for the new profile. This is the name that is displayed in lists where the profiles are available for selection.
  5. Select Team Foundation Server from the Source control system list box.
  6. Enter the URL of your TFS installation. For example, http://tfsserver:8080/tfs.
  7. Type the Domain of the TFS user.
  8. Type a valid Username and Password. These credentials will be used to access your repository.
  9. Optional: Type the Common working folder to which the Silk Central execution server should copy the source files. The working folder must be a local path. For example, C:\TempSources\.
    Warning: It is recommended to leave this field empty and let Silk Central use a temporary working folder instead. Specifying a static working folder can lead to unexpected results when running parallel executions. The temporary location can be queried from the predefined parameter #sctm_source_root_dir.
  10. Type the Project path you want this profile to use. Click Browse to display the Select Project Path dialog box. The Select Project Path dialog box opens. Select the desired project path in the tree view and click OK. Leaving this field empty sets the project path to the root directory.
  11. Click OK.

    Silk Central attempts a trial connection to the external system using the information you have provided.

    Note: If an error occurs, please review the information that you have supplied, or consult your administrator.

If the trial connection is successful, you are returned to the Source Control page.