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

Cannot use "Build now" after upgrading from 0.4.4 to 0.4.7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Blocker Blocker
    • None
    • Gerrit Code Review 0.4.7

      After upgrading from 0.4.4 to 0.4.7 I'm no longer able to manually trigger builds via Jenkins "Build now" I get the following error:

       

      Started by user John
       > git rev-parse --is-inside-work-tree # timeout=10
      Setting origin to http://jenkins@gerrit/a/sandbox
       > git config remote.origin.url http://jenkins@gerrit/a/sandbox # timeout=10
      Fetching origin...
      Looking for open changes with query 'p:sandbox status:open -age:24w ' ...
      Fetching upstream changes from origin
       > git --version # timeout=10
       > git --version # 'git version 2.17.1'
       > git config --get remote.origin.url # timeout=10
      using GIT_ASKPASS to set credentials gerrit http
       > git fetch --tags --progress -- origin refs/changes/84/10484/5:refs/remotes/origin/84/10484/5 # timeout=10
      java.lang.NullPointerException
      	at org.eclipse.jgit.lib.ObjectId.fromString(ObjectId.java:202)
      	at jenkins.plugins.git.GitSCMFileSystem.<init>(GitSCMFileSystem.java:117)
      	at jenkins.plugins.git.GitSCMFileSystem$BuilderImpl.build(GitSCMFileSystem.java:413)
      	at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:316)
      	at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:106)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:312)
      	at hudson.model.ResourceController.execute(ResourceController.java:107)
      	at hudson.model.Executor.run(Executor.java:449)
      Finished: FAILURE
      

       

      Automatic build triggers via events seemed to work.

       

            lucamilanesio Luca Domenico Milanesio
            johnv John V
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: