Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58773

Builds stuck after Querying the current revision of branch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • None
    • Jenkins 2.187 on Mac

      I installed the latest version of the plugin as HPI and configured my Gitlab Server.

      I managed to create a Gitlab Group and the plugin found my example branch with a Jenkinsfile.

      After starting a build on the branch, it is stuck forever after Querying the current revision of branch. Same happens when I create this as single Multibranch Project.

      Gestartet durch Benutzer Test
      Querying the current revision of branch feature/FOO...
      Current revision of branch feature/FOO is 80b4ef81acc9c9e14b42e80e8bf74cd7fd5d5bb9
      

      Stuck here with the little animated circle icon.

      EDIT:

      After 20min timeout I get a Git exception: 

      [GitLab Pipeline Status] Notifying branch build status: FAILED Test/FOO: There was a failure building this commit
      [GitLab Pipeline Status] Notified
      hudson.plugins.git.GitException: Command "git fetch --tags --force --progress origin +refs/heads/*:refs/remotes/origin/* --prune" returned status code 143:
      stdout: 
      stderr: 
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2042)
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1761)
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$400(CliGitAPIImpl.java:72)
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:442)
      	at jenkins.plugins.git.GitSCMFileSystem$BuilderImpl.build(GitSCMFileSystem.java:406)
      	at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:293)
      	at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:103)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:293)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      Finished: FAILURE
      

            baymac Parichay Barpanda
            pleibiger Peter Leibiger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: