jetbrains.vcs.server.api.VcsServiceException: Failed to construct commits graph
Hi,
I'm testing out the docker version of the 2020.1.1782 build on on-prem k8s cluster and having problems with an initial setup of a project imported from an on-prem gitlab server.
I am able to add the project without any errors, the VCS connection test goes OK but afterwards on the list of all projects I'm seeing
Last VCS check: – [...]
and the error list:
13:37:12: Check for VCS changes completed with errors. jetbrains.vcs.server.api.VcsServiceException:
Failed to construct commits graph for PROJECT_NAME{mappings: 1, mounts: 0}.
Failed to construct graph for PROJECT_NAME:.
Failed to collect commits graph for PROJECT_NAME:. jetbrains.buildServer.vcs.VcsException: https://gitlab.ON_PREM/web/PROJECT_NAME: 404 Not Found
13:37:12: Project PROJECT_NAME init failed due to unrecoverable VCS problem:
Failed to import commits graph: Check for VCS changes completed with errors. jetbrains.vcs.server.api.VcsServiceException:
Failed to construct commits graph for PROJECT_NAME{mappings: 1, mounts: 0}.
Failed to construct graph for PROJECT_NAME:. Failed to collect commits graph for PROJECT_NAME:. jetbrains.buildServer.vcs.VcsException: https://gitlab.ON_PREM/web/PROJECT_NAME: 404 Not Found
Half a year ago I was testing a 2019 build with the same project on the same on-prem gitlab server and there was no error like this.
Does anyone has any clues?
Cheers,
Jakub
Please sign in to leave a comment.
OK, issue solved.
The reason was the "Repository URL:" input field.
I entered the gitlab URL copied from the browser "https://gitlab.server.com/group/project" which allowed to save the project but dod not allow to scan it later on.
The fix was to enter "https://gitlab.server.com/group/project.git" in the Repository URL:" input field.
Cheers,
Jakub