Issue Type: Bug Bug
Affects Versions: current
Assignee: rsandell
Components: gerrit-trigger
Created: 25/Apr/14 1:12 AM
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.

Project: Jenkins
Priority: Minor Minor
Reporter: Jonas Lippuner
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to