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

PostBuildScript plugin fails with Maven2 jobs

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: postbuildscript-plugin
    • Labels:
      None
    • Environment:
      RHEL
    • Similar Issues:

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              vishalrekala Vishal Rekala
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: