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 your project either from the left navigation pane or from the My Projects page.

    The project Overview page is displayed.

  3. Select a branch from the Branch field.
    The branch that you select on any of the following pages is reflected in the rest of the other pages and the test assets are filtered based on the global branch selection on each of these pages.:
    • Overview
    • Execution
    • Datasets

Results

You have selected a global branch in a project.