Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Failed to find jacoco.xml #259

@ham1

Description

@ham1

We have a Maven project which creates a jacoco.xml file in target/site/jacoco/ but when running ./cc-test-reporter after-build it says

Error: not find any viable formatter. available formatters: simplecov, lcov, coverage.py, clover, gocov, gcov, cobertura, jacoco

Running with ./cc-test-reporter after-build -d -t jacoco gives:

DEBU[0000] about to run format-coverage
DEBU[0000] using formatter jacoco
DEBU[0000] checking search path for jacoco formatter
DEBU[0000] checking search path jacoco.xml for jacoco formatter
ERRO[0000] could not find coverage file
could not find any files in search paths for jacoco. search paths were: , jacoco.xml
Error: could not find any files in search paths for jacoco. search paths were: , jacoco.xml

Please see here for our project: https://github.com/Frameworkium/frameworkium-core
and a the error in CI:
https://travis-ci.org/Frameworkium/frameworkium-core/builds/302599922

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions