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

Gerrit Trigger depends on Maven Integration plugin

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved: