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

Not compatible with Atlassian Stash v3.x.x

XMLWordPrintable

      When trying to use the plugin against v3.x.x the head of the revision fails because revision.getHash() is null.

      ``` 
      Started by user xxxxx (xxxx) 
      java.lang.NullPointerException 
      at org.eclipse.jgit.lib.ObjectId.fromString(ObjectId.java:231) 
      at jenkins.plugins.git.AbstractGitSCMSource$SpecificRevisionBuildChooser.<init>(AbstractGitSCMSource.java:388) 
      at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.build(BitbucketSCMSource.java:411) 
      at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:80) 
      at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:206) 
      at hudson.model.ResourceController.execute(ResourceController.java:98) 
      at hudson.model.Executor.run(Executor.java:410) 
      Finished: FAILURE 
      ```
      

      Apparently, the plugin has been only tested against v4.x.x so the API might be different on previous versions.

            amuniz Antonio Muñiz
            fbelzunc Félix Belzunce Arcos
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: