1. Reference: Adjusting a project’s group and name in GitLab.
2. After configuring it in Jenkins, an error occurred: repository ‘https://gitlab.chinamcloud.com/pcs/pcs_api.git/’ not found, as shown in Figure 1.

Failed to connect to repository : Command "git ls-remote -h https://gitlab.chinamcloud.com/pcs/pcs_api.git HEAD" returned status code 128:
stdout:
stderr: fatal: repository 'https://gitlab.chinamcloud.com/pcs/pcs_api.git/' not found
3. I checked the user list under the php group and found the user JenkinsIntegration, as shown in Figure 2.

4. I added the user JenkinsIntegration to the user list under the pcs group with the role of Guest, as shown in Figure 3.

5. After configuring it in Jenkins, an error occurred: unable to access ‘https://gitlab.chinamcloud.com/pcs/pcs_api.git/’: The requested URL returned error: 403
Failed to connect to repository : Command "git ls-remote -h https://gitlab.chinamcloud.com/pcs/pcs_api.git HEAD" returned status code 128:
stdout:
stderr: fatal: unable to access 'https://gitlab.chinamcloud.com/pcs/pcs_api.git/': The requested URL returned error: 403
6. I changed the role of the user JenkinsIntegration in the user list under the pcs group to Developer, as shown in Figure 4.

7. After configuring it in Jenkins, the error no longer occurred, but the build still failed, as shown in Figure 5.

8. After contacting the operations team to create pcs_api on the Registry, the build succeeded, as shown in Figure 6.

