Microsoft Team Foundation Server (TFS)

Code Insight 6.14.2 SP1

To configure the current workspace to use TFS for managing the codebase, perform the following steps.

To configure the current workspace to use TFS, do the following:

1. On the Workspace Settings – General tab, select TFS in the Application dropdown.
2. Click on the Software Configuration Management tab, and the Software Configuration Management screen appears. On this screen, you can enter your TFS configuration options.

3. The following options are available for TFS:

Option

Description

TFS URL

Enter the repository URL in the following format:

http://<server>:<port>/<tfsroot>/<collection>/<project>

TFS Username/Password

Enter the username/password to create an authenticated connection to the TFS repository.

TFS Update To

Select the update to directive and provide the criteria if necessary. The following options are available:

Latest Changelist
Specific Changelist
Label

SCM Destination Folder

Select the folder into which the codebase should be copied on the Scan Server. You can create new subdirectories if necessary via the browse dialog.

Folders to Scan

Select the folders to scan within the SCM Destination Folder. You can create new subdirectories if necessary via the browse dialog.

Excluded File Patterns

Define any file patters that are to be excluded from the scan.

4. To sync to a specific folder in a project rather than to the whole project, add the folder to the URL:

http://<server>:<port>/<tfsroot>/<collection>/<project>/<subdirectory>/<folder_1>

In this example, only folder 1 will be synced and scanned.