Adding repositories to a server project
Before you begin
- Added a project on HCL DevOps Test Hub (Test Hub).
- Been granted permission and you must have set up your credentials to access the remote repositories in a repository domain.
- Created test assets and resources that are contained in either a single git repository or multiple git repositories.
About this task
When... | Action... |
---|---|
You want to add any of the following repositories:
|
You can add individual repositories one at a time. You must then provide the complete URL of the repository along with the required credentials to authenticate the connection to the repository from Test Hub. For example, the URL to a single repository can be as https://github.com/<user>/<repository>.git. You must provide the username and password to access this repository. |
You want to add any of the following repositories:
|
You can add all the repositories simultaneously that are in the same domain. You must then provide the URL of the repository domain along with the required credentials to authenticate the connection to the repository from Test Hub. For example, the URL of the repository domain can be https://github.com. You must select the platform and provide your personal access token to access the repositories. |
Procedure
- Log in to Test Hub and open the team space that contains your project.
-
Open your project either from the navigation pane or from the My
Projects page.
The Overview page of the project is displayed.
-
Click
from the navigation pane.
The Configuration page of the project is displayed.
-
In the Repositories section, click Add
repository.
The Add repository dialog is displayed.
You can either choose to add a single repository individually or multiple repositories simultaneously from a single domain.
- Perform either of the following actions:
-
Perform the following steps to add individual repositories at a time:
You can add other individual repositories by specifying the URL and performing the actions in Step 6.
-
Perform the following steps to add multiple repositories simultaneously that are
contained in the same domain:
Note: You can only add a single repository that is managed by using Git in Azure Repos. The addition of multiple repositories in Azure Repos is not supported.Note: Depending on the size of the repository that you are adding, it can take a few to several minutes to add the repository to your project on the server.
All the repositories that you selected are added to your project and are listed on the Repositories page.
Results
You have added individual repositories or multiple repositories to your project on the server.
What to do next
- Update the authentication credentials if they are changed in the Git repository configuration. See Updating the authentication credentials of the repository.
- Delete a repository if it is no longer required. See Deleting a repository.
- Refresh a repository to fetch and synchronize changes from the remote repository. See Refreshing repositories manually.