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

FSTrigger doesn't work with Multibranch Pipeline

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: fstrigger-plugin
    • Labels:
      None
    • Environment:
      Jenkins version: 2.89.2
      FSTrigger Plugin version: 0.39
      Pipeline: Multibranch version: 2.16
    • Similar Issues:

      Description

      Jenkins throws an error when enabling "[FSTrigger] - Monitor folder" in MultiBranch Pipeline configuration. With simple Pipeline plugin works fine.

      java.lang.ClassCastException: org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject cannot be cast to hudson.model.AbstractProject
      at org.jenkinsci.lib.xtrigger.AbstractTrigger.getPollingNodeListRequiredNoWS(AbstractTrigger.java:360)
      at org.jenkinsci.lib.xtrigger.AbstractTrigger.getPollingNodeList(AbstractTrigger.java:346)
      at org.jenkinsci.lib.xtrigger.AbstractTrigger.getPollingNodesWithExecutors(AbstractTrigger.java:328)
      at org.jenkinsci.lib.xtrigger.AbstractTrigger.getPollingNode(AbstractTrigger.java:308)
      at org.jenkinsci.lib.xtrigger.AbstractTrigger.start(AbstractTrigger.java:81)
      at org.jenkinsci.lib.xtrigger.AbstractTrigger.start(AbstractTrigger.java:26)
      at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.submit(ComputedFolder.java:458)
      at jenkins.branch.MultiBranchProject.submit(MultiBranchProject.java:885)
      at com.cloudbees.hudson.plugins.folder.AbstractFolder.doConfigSubmit(AbstractFolder.java:1352)
      at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.doConfigSubmit(ComputedFolder.java:402)
      at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
      at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
      at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:52)
      at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)

        Attachments

          Activity

          Hide
          andreasgk Andreas Galek added a comment -

          I have the same problem in my Jenkins (v2.150.1).

          Show
          andreasgk Andreas Galek added a comment - I have the same problem in my Jenkins (v2.150.1).

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              minas Gediminas Jaudegis
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: