-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Blocker
-
Component/s: gitlab-branch-source-plugin
-
None
There is an issue upgrading from 725 to 736, launching the job throw a 404 error from Gitlab when retrieving branch. Also the dropdown "Projects" in the job configuration doesn't show anymore any project. Downgrading resolve the issue. Gitlab is in v18.4
org.gitlab4j.api.GitLabApiException: 404 Project Not Found
at PluginClassLoader for gitlab-api//org.gitlab4j.api.AbstractApi.validate(AbstractApi.java:784)
at PluginClassLoader for gitlab-api//org.gitlab4j.api.AbstractApi.get(AbstractApi.java:262)
at PluginClassLoader for gitlab-api//org.gitlab4j.api.ProjectApi.getProject(ProjectApi.java:813)
at PluginClassLoader for gitlab-api//org.gitlab4j.api.ProjectApi.getProject(ProjectApi.java:744)
at PluginClassLoader for gitlab-branch-source//io.jenkins.plugins.gitlabbranchsource.GitLabSCMSource.getGitlabProject(GitLabSCMSource.java:221)
Caused: java.lang.IllegalStateException: Failed to retrieve project my-group/my-project
at PluginClassLoader for gitlab-branch-source//io.jenkins.plugins.gitlabbranchsource.GitLabSCMSource.getGitlabProject(GitLabSCMSource.java:226)
at PluginClassLoader for gitlab-branch-source//io.jenkins.plugins.gitlabbranchsource.GitLabSCMSource.retrieve(GitLabSCMSource.java:306)
at PluginClassLoader for scm-api//jenkins.scm.api.SCMSource.fetch(SCMSource.java:577)
at PluginClassLoader for workflow-multibranch//org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:104)
at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:317)
at hudson.model.ResourceController.execute(ResourceController.java:101)
at hudson.model.Executor.run(Executor.java:460)