Marcel L commented on Bug JENKINS-16777

No joy with the hotfix version:

[JaCoCo plugin] Collecting JaCoCo coverage data...
[JaCoCo plugin] **/buildReports/*.exec;**/bin/debugclasses;**/src; locations are configured
[JaCoCo plugin] Number of found exec files: 1

[JaCoCo plugin] Saving matched execfiles:  /<Hidden>/buildReports/jacoco.exec
[JaCoCo plugin] Saving matched class directories:  /<Hidden>/bin/debugclasses
[JaCoCo plugin] Saving matched source directories:  /<Hidden>/src
[JaCoCo plugin] Loading inclusions files..
ERROR: Publisher hudson.plugins.jacoco.JacocoPublisher aborted due to exception
java.lang.ArrayIndexOutOfBoundsException: 0
	at hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure(ExecutionFileLoader.java:127)
	at hudson.plugins.jacoco.ExecutionFileLoader.loadBundleCoverage(ExecutionFileLoader.java:143)
	at hudson.plugins.jacoco.JacocoBuildAction.getJacocoReports(JacocoBuildAction.java:249)
	at hudson.plugins.jacoco.JacocoBuildAction.loadRatios(JacocoBuildAction.java:332)
	at hudson.plugins.jacoco.JacocoBuildAction.load(JacocoBuildAction.java:313)
	at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:363)
	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:810)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:785)
	at hudson.ivy.IvyModuleSetBuild$RunnerImpl.post2(IvyModuleSetBuild.java:587)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:732)
	at hudson.model.Run.execute(Run.java:1593)
	at hudson.model.Run.run(Run.java:1514)
	at hudson.ivy.IvyModuleSetBuild.run(IvyModuleSetBuild.java:282)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:236)
Recording fingerprints

But I can confirm Tims workaround (entered something in the "Inclusions" section). Then the project builds fine but the build becomes unstable due to jacoco. Can someone tell me why ?

Recording test results
[JaCoCo plugin] Collecting JaCoCo coverage data...
[JaCoCo plugin] **/buildReports/*.exec;**/bin/debugclasses;**/src; locations are configured
[JaCoCo plugin] Number of found exec files: 1
[JaCoCo plugin] Saving matched execfiles:  /<Hidden>/buildReports/jacoco.exec
[JaCoCo plugin] Saving matched class directories:  /<Hidden>/bin/debugclasses
[JaCoCo plugin] Saving matched source directories:  /<Hidden>/src
[JaCoCo plugin] Loading inclusions files..
[JaCoCo plugin] inclusions: [**/*.class]
[JaCoCo plugin] exclusions: []

[JaCoCo plugin] Thresholds: JacocoHealthReportThresholds [minClass=0, maxClass=100, minMethod=0, maxMethod=70, minLine=0, maxLine=80, minBranch=0, maxBranch=80, minInstruction=0, maxInstruction=80, minComplexity=0, maxComplexity=80]
[JaCoCo plugin] Publishing the results..

[JaCoCo plugin] Loading packages..
[JaCoCo plugin] Done.
Build step 'Record JaCoCo coverage report' changed build result to UNSTABLE
Finished: UNSTABLE
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to