Adding a repository to a Team Space

You can add a repository to store your system model.

Before you begin

You must have been granted permission to access the repository.

About this task

As a user or administrator, you can add a repository to the Team Space. When you add a repository, the Git repository is cloned to the Team Space. While adding a repository, you must provide the necessary authentication credentials that are set for the Git repository. For example, if the authentication type is SSH, then you must provide the Git URL, a deploy key, and a passphrase.

After you log in, from the Home page, you can add a repository to the Team Space by following these steps.

Procedure

  1. Click Manage > Configuration.

    The Team Space Configuration page is displayed.

  2. Click Add repository.

    The Add repository page is displayed.

  3. Enter the URL of the Git repository that you want to add to the Team Space.
  4. Click the Expand icon to enter the required credentials based on any of the following authentication methods configured in the repository.
    To gain access to the repository, you must use any one of the authentication methods:
    Authentication method Credentials required
    SSH
    • Deploy key
    • Passphrase
    HTTPS
    • User name
    • Password
    HTTP
    • User name
    • Password
    Notes:
    • You must have defined the authentication type and set the authentication credentials in the Git repository.
    • If you use SSH to connect to your remote repository and HCL OneTest Server displays an Auth Fail exception while using the deliver changes option, you can resolve this exception error by regenerating your SSH keys by using the -m PEM option.
  5. Click Add.
    The Git repository is added to the Team Space on HCL OneTest Server.
    Note: Depending on the size of the repository you are cloning, it can take a few to several minutes to clone the repository.

What to do next

You can perform the following actions on the repository that you added:
  • Update the authentication credentials if they are changed in the Git repository configuration.
  • Delete a repository if it is no longer required.
  • Refresh a repository to fetch and synchronize changes from the remote repository.
  • Configure a webhook to notify the server if there is a push event in the remote repository.
  • Add a system model to the repository.