-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Hudson: 1.337
Template Project plugin: 1.0
OS: Any
Template project builder does not work within a matrix project. Build of such project fails with an exception:
FATAL: hudson.matrix.MatrixProject cannot be cast to hudson.model.Project
java.lang.ClassCastException: hudson.matrix.MatrixProject cannot be cast to hudson.model.Project
at hudson.plugins.templateproject.ProxyBuilder.getProject(ProxyBuilder.java:38)
at hudson.plugins.templateproject.ProxyBuilder.prebuild(ProxyBuilder.java:98)
at hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:596)
at hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:591)
at hudson.model.Build$RunnerImpl.doRun(Build.java:114)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
at hudson.model.Run.run(Run.java:1179)
at hudson.matrix.MatrixRun.run(MatrixRun.java:130)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:122)