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

Multibranch pipelines are not able to scan new branches

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • _unsorted
    • None
    • PROD

      Hello Everyone,

      We recently upgraded the Jenkins version from 2.401.3 to 2.479.3 (containerized) which went smooth and updated all the plugins, since then the multibranch pipelines are not able to scan new branches, if we create a new multibranch pipeline then it is able to scan all branches for the first time and again it is not able to scan all of them.

      Below is from output

      Blow is from the system logs

      Feb 26, 2025 5:47:36 PM SEVERE hudson.model.Executor finish1
      Executor threw an exception java.lang.ClassNotFoundException: org.objectweb.asm.ClassWriter Caused: java.lang.NoClassDefFoundError: org/objectweb/asm/ClassWriter at PluginClassLoader for scm-api//jenkins.scm.api.SCMHeadMixinEqualityGenerator.create(SCMHeadMixinEqualityGenerator.java:234) at PluginClassLoader for scm-api//jenkins.scm.api.SCMHeadMixinEqualityGenerator.getOrCreate(SCMHeadMixinEqualityGenerator.java:152) at PluginClassLoader for scm-api//jenkins.scm.api.SCMHead.equals(SCMHead.java:191) at PluginClassLoader for branch-api//jenkins.branch.Branch.equals(Branch.java:279) at PluginClassLoader for branch-api//jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observeExisting(MultiBranchProject.java:2033) at PluginClassLoader for branch-api//jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:2021) at PluginClassLoader for scm-api//jenkins.scm.api.trait.SCMSourceRequest.process(SCMSourceRequest.java:357) at PluginClassLoader for git//jenkins.plugins.git.AbstractGitSCMSource$8.discoverBranches(AbstractGitSCMSource.java:708) at PluginClassLoader for git//jenkins.plugins.git.AbstractGitSCMSource$8.run(AbstractGitSCMSource.java:612) at PluginClassLoader for git//jenkins.plugins.git.AbstractGitSCMSource$8.run(AbstractGitSCMSource.java:591) at PluginClassLoader for git//jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:397) at PluginClassLoader for git//jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:351) at PluginClassLoader for git//jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:591) at PluginClassLoader for scm-api//jenkins.scm.api.SCMSource._retrieve(SCMSource.java:372) at PluginClassLoader for scm-api//jenkins.scm.api.SCMSource.fetch(SCMSource.java:282) at PluginClassLoader for branch-api//jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:654) at PluginClassLoader for cloudbees-folder//com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:269) at PluginClassLoader for cloudbees-folder//com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:167) at PluginClassLoader for branch-api//jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1057) at hudson.model.ResourceController.execute(ResourceController.java:101) at hudson.model.Executor.run(Executor.java:445)

       

      Below are the plugins versions

      scm-api : 676.v886669a_199a_a_

      branch-api :2.1128.v717130d4f816

      git :

      in additional to above, i have the following plugin which is deprecated

      Not sure what causing this, can someone help me with this?

            Unassigned Unassigned
            bravilla baradwaj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: