I'm trying to get xUnit working with a custom xsl file I've written.  I 
tested the transformation in Eclipse and everything works fine, Eclipse 
recognizes the output as a jUnit file.  I've verified that Jenkins can see 
the xsl file, and the xml file by simply adding 'ls' commands to the build 
step, and there doesn't seem to be any issues there. 

I get as far as xUnit trying to process the XML, before it blows up (output 
below).  Is this something in my xsl that's causing the issue?  Am I 
missing a package/library or something?  I'm not finding a lot of info on 
this one, so thanks for any help in advance!

Cheers!

[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing Custom Tool
ERROR: Build step failed with exception
java.lang.TypeNotPresentException: Type 
org.codehaus.jackson.annotate.JsonIgnore not present
at 
com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:39)
at 
com.ibm.oti.reflect.AnnotationHelper.getDeclaredAnnotations(AnnotationHelper.java:51)
at com.ibm.oti.reflect.Method.getDeclaredAnnotations(Method.java:35)
at java.lang.reflect.Method.getDeclaredAnnotations(Method.java:719)
at 
java.lang.reflect.AccessibleObject.getAnnotations(AccessibleObject.java:187)
at com.ibm.oti.reflect.Method.getAnnotation(Method.java:21)
at java.lang.reflect.Method.getAnnotation(Method.java:703)
at com.google.inject.spi.InjectionPoint.getAtInject(InjectionPoint.java:478)
at 
com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:676)
at 
com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:366)
at 
com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:165)
at 
com.google.inject.internal.InjectorImpl.getInternalDependencies(InjectorImpl.java:612)
at com.google.inject.internal.InjectorImpl.cleanup(InjectorImpl.java:568)
at 
com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:554)
at 
com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:877)
at 
com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:798)
at 
com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:281)
at 
com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:213)
at 
com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:998)
at 
com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1031)
at 
com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:994)
at 
com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1044)
at 
org.jenkinsci.plugins.xunit.XUnitProcessor.getXUnitToolInfoObject(XUnitProcessor.java:204)
at 
org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:134)
at 
org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:81)
at 
org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:112)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670)
at hudson.model.Run.execute(Run.java:1743)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
Caused by: java.lang.ClassNotFoundException: 
org.codehaus.jackson.annotate.JsonIgnore
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:169)
at 
com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:34)
... 34 more
Build step 'Publish xUnit test result report' marked build as failure
Finished: FAILURE

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9cf0d1ff-46cb-4269-be2e-5fb9d1b4d3af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to