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

Gerrit Trigger depends on Maven Integration plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Despite not listing Maven as a dependency, Gerrit Trigger depends on the Maven Integration plugin.

      When I disable the Maven Integration plugin, Jenkins still triggers on a new Gerrit patch set, but when the build is done, Jenkins fails to report back to Gerrit with the following error message:

      INFO: SpECTRE_simple_Gerrit #3 main build action completed: SUCCESS
      Apr 24, 2014 5:28:56 PM com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.ToGerritRunListener onCompleted
      INFO: Completed. Build: SpECTRE_simple_Gerrit #3 Cause: GerritCause: PatchsetCreated: Change: 13 PatchSet: 4 silent: false
      Apr 24, 2014 5:28:56 PM hudson.model.listeners.RunListener report
      WARNING: RunListener failed
      java.lang.NoClassDefFoundError: hudson/maven/MavenBuild
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
      at java.lang.Class.getDeclaredMethod(Class.java:2002)
      at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.getMethod(SerializationMethodInvoker.java:165)
      at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.getMethod(SerializationMethodInvoker.java:170)
      at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.getMethod(SerializationMethodInvoker.java:149)

      [much more stack trace...]

      When I enable the Maven Integration plugin, Gerrit Trigger works perfectly and reports back to Gerrit.

        Attachments

          Activity

          Hide
          rin_ne rin_ne added a comment -

          Duplicate JENKINS-21274?

          Show
          rin_ne rin_ne added a comment - Duplicate JENKINS-21274 ?
          Hide
          rin_ne rin_ne added a comment -

          Such error was not shown by using Jenkins 1.536 + Gerrit-Trigger 2.11.1.
          Also Maven integration plugin was not shown in installed plugin list on plugin management page.
          It means that gerrit trigger plugin has not dependency to maven integration plugin.

          So I think this is not gerrit trigger plugin issue but maven integration plugin issue.

          One question, how to enable/disable maven integration plugin? install/uninstall?

          Show
          rin_ne rin_ne added a comment - Such error was not shown by using Jenkins 1.536 + Gerrit-Trigger 2.11.1. Also Maven integration plugin was not shown in installed plugin list on plugin management page. It means that gerrit trigger plugin has not dependency to maven integration plugin. So I think this is not gerrit trigger plugin issue but maven integration plugin issue. One question, how to enable/disable maven integration plugin? install/uninstall?

            People

            • Assignee:
              rsandell rsandell
              Reporter:
              flecto Jonas Lippuner
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: