-
New Feature
-
Resolution: Fixed
-
Minor
-
None
revision.getHash() is null when using v3.x.x of the server
The following stacktrace happens in this case:
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