Selecting the global branch in a project

After you add one or more repositories to your project, you can start accessing all branches in all repositories of that project. You can select only one branch as a global branch from the list of branches in the Execution, Datasets, and Overview pages.

Before you begin

You must have completed the following tasks:
  • Been assigned a member or Project Creator role in a team space
  • Added at least one repository in your project.

About this task

You can access all the branches contained in all the repositories, which are added to the project, by using the Branch field on the Execution, Datasets, and Overview pages.

After you select a branch from any of the repositories as the global branch, this selection is retained for you as the global branch unless you change the branch on any of the following pages: Overview, Execution, or Datasets pages.

Note:
  • When you add the first repository to a project, the global branch is set to the default branch of the repository.
  • Branches are arranged in an increasing order of their names in the list.
  • When you change the branch in one of the pages, then the same branch is displayed as selected in the other pages and the contents of that page displays the assets from the selected branch.

Procedure

  1. Log in to HCL OneTest Server and open the team space that contains your project.
  2. Open the project.

    The project Overview page is displayed.

  3. Go to the Overview page.
  4. Select a branch from the Branch field.

    The branch that you selected in the Overview page is reflected in the Execution and Datasets pages and the test assets are filtered based on the global branch selection on each of these pages.

Results

You have selected a global branch in a project.