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

Creating a multijob plugin to as a template cause error

    Details

    • Similar Issues:

      Description

      If I create a multijob and then try to use it as a template I get the following error:

      FATAL: hudson.model.FreeStyleBuild cannot be cast to com.tikal.jenkins.plugins.multijob.MultiJobBuild
      java.lang.ClassCastException: hudson.model.FreeStyleBuild cannot be cast to com.tikal.jenkins.plugins.multijob.MultiJobBuild
      at com.tikal.jenkins.plugins.multijob.MultiJobBuilder.perform(MultiJobBuilder.java:64)
      at hudson.plugins.templateproject.ProxyBuilder.perform(ProxyBuilder.java:83)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
      at hudson.model.Build$BuildExecution.build(Build.java:199)
      at hudson.model.Build$BuildExecution.doRun(Build.java:160)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
      at hudson.model.Run.execute(Run.java:1502)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:236)

      BTW this a great plugin. It has greatly reduced the effort around our use of Jenkins. Thank you!

        Attachments

          Activity

          brianaker Brian Aker created issue -
          oleg_nenashev Oleg Nenashev made changes -
          Field Original Value New Value
          Component/s jenkins-multijob-plugin [ 16545 ]
          Component/s template-project [ 15623 ]
          Component/s plugin [ 15491 ]
          oleg_nenashev Oleg Nenashev made changes -
          Assignee huybrechts [ huybrechts ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 145904 ] JNJira + In-Review [ 176474 ]
          yorammi Yoram Michaeli made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Postponed [ 6 ]

            People

            • Assignee:
              huybrechts huybrechts
              Reporter:
              brianaker Brian Aker
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: