Adding repositories to a server project
You can add repositories to a server project to access the test assets available in the
respective repository.
Before you begin
- Added a project on HCL OneTest™ Server.
- Been granted permission to access the repository.
About this task
After you log in, from the Home page, you can add one or more repositories to your project by following these steps.
Procedure
- Open your project.
- Click the Repositories tab.
-
Click Add repository.
The Add repository page is displayed.
- Enter the URL of the Git repository that you want to add to your project.
-
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 Failexception while using the deliver chnages option, you can resolve this exception error by regenerating your SSH keys by using the -m PEM option.
-
Click Add.
The Git repository is cloned 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.
- Optional: Repeat the steps to add another repository.
What to do next
- Update the authentication credentials if they are changed in the Git repository configuration.
- Delete a repository if it is no longer required.