Adding Git Source Control Profiles

To create a Git 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 Git from the Source control system list box.
  6. Type the URL of the Git Repository you want to access.
    Note: This field is case sensitive.
  7. Type a valid Git Username and Password, if required.
  8. Optional: Specify a Branch to check out a specific branch. Leave this field empty to check out the master branch.
  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.

Tip: If you want to check out a specific branch of your repository for a specific execution plan, specify the branch name in the Source Control Label field of the respective execution plan. See Creating Execution Plans for detailed information. This will overwrite the specified Branch in the Git source control profile.