Adding repositories to a server project
Before you begin
- Added a project on HCL OneTest™ Server.
- Been granted permission and you must have set up your credentials to access the remote repositories in a repository domain.
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 HCL OneTest™ Server. For example, the URL to a single repository can be as https://github.com/<user>/<repository>.git. You must provide the user name 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 HCL OneTest™ Server. For example, the URL of the repository domain can be as https://github.com. You must select the platform and provide your personal access token to access the repositories. |
Procedure
- Log in to HCL OneTest™ Server 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.
- Click the REPOSITORIES tab.
-
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 7.
-
Perform the following steps to add multiple repositories simultaneously that are
contained in the same domain:
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.
- Configure a webhook to notify you when there is a push event in the remote repository. See Creating webhooks.