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

PostBuildScript plugin fails with Maven2 jobs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • postbuildscript-plugin
    • None
    • RHEL

      Hi,

      I have upgraded jenkins from 1.425 to 1.428 and whenever any build is started i see this message.
      I am kind of stucked with this error and all my builds are not stopped working.

      15:21:25 FATAL: hudson.maven.MavenModuleSet cannot be cast to hudson.model.Project
      15:21:25 java.lang.ClassCastException: hudson.maven.MavenModuleSet cannot be cast to hudson.model.Project
      15:21:25 at org.jenkinsci.plugins.postbuildscript.PostBuildScriptListener.onStarted(PostBuildScriptListener.java:29)
      15:21:25 at hudson.model.listeners.RunListener.fireStarted(RunListener.java:188)
      15:21:25 at hudson.model.Run.run(Run.java:1371)
      15:21:25 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:479)
      15:21:25 at hudson.model.ResourceController.execute(ResourceController.java:88)
      15:21:25 at hudson.model.Executor.run(Executor.java:230)

      Any help is appreciated.

      Thanks,
      Vishal

            gbois Gregory Boissinot
            vishalrekala Vishal Rekala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: