Also biting us when using the pipeline multibranch plugin to build tags from the Linux kernel.
To reproduce: Create a new pipeline multibranch job pointing at [git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git]
Allow tags to be discovered
Trigger branch indexing for the job
Observe the follow error in the branch indexing log:
ERROR: [Thu Nov 09 09:47:11 AEDT 2017] Could not fetch branches from source 167a9004-7662-4b72-a689-cc8eae3bdee4
org.eclipse.jgit.errors.IncorrectObjectTypeException: Object c39ae07f393806ccf406ef966e9a15afc43cc36a is not a commit.
at org.eclipse.jgit.revwalk.RevWalk.parseCommit(RevWalk.java:774)
at jenkins.plugins.git.AbstractGitSCMSource$8.discoverTags(AbstractGitSCMSource.java:615)
at jenkins.plugins.git.AbstractGitSCMSource$8.run(AbstractGitSCMSource.java:538)
at jenkins.plugins.git.AbstractGitSCMSource$8.run(AbstractGitSCMSource.java:521)
at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:352)
at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:521)
at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:355)
at jenkins.scm.api.SCMSource.fetch(SCMSource.java:265)
at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:634)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:978)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:421)
[Thu Nov 09 09:47:11 AEDT 2017] Finished branch indexing. Indexing took 5 sec
FATAL: Failed to recompute children of Linux Kernel
org.eclipse.jgit.errors.IncorrectObjectTypeException: Object c39ae07f393806ccf406ef966e9a15afc43cc36a is not a commit.
at org.eclipse.jgit.revwalk.RevWalk.parseCommit(RevWalk.java:774)
at jenkins.plugins.git.AbstractGitSCMSource$8.discoverTags(AbstractGitSCMSource.java:615)
at jenkins.plugins.git.AbstractGitSCMSource$8.run(AbstractGitSCMSource.java:538)
at jenkins.plugins.git.AbstractGitSCMSource$8.run(AbstractGitSCMSource.java:521)
at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:352)
at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:521)
at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:355)
at jenkins.scm.api.SCMSource.fetch(SCMSource.java:265)
at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:634)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:978)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:421)
Finished: FAILURE
Also biting us when using the pipeline multibranch plugin to build tags from the Linux kernel.
To reproduce: Create a new pipeline multibranch job pointing at [git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git]
Allow tags to be discovered
Trigger branch indexing for the job
Observe the follow error in the branch indexing log: