Hi,

I am trying to exclude some packages and classes from jacoco coverage report, 
yet I see them.
I was trying to exclude **/sv/data/dto/oracle/MigrationStatus* which is a class 
and **/sv/core/throttle/compare/** which is a package.

1. I put them comma separated in Jenkins plugin for Jacoco in Exclusions box, 
yet I am seeing them in coverage. 
In console, I am seeing though: [JaCoCo plugin] exclusions: 
[**/sv/core/throttle/compare/**, **/sv/data/dto/oracle/MigrationStatus*].

2. I also tried by putting in maven configuration, 

           <configuration>
              <reset>${Reset}</reset>
              <address>${testHost}</address>
              <excludes>
                <!-- exclude generated code from coverage report -->
                <exclude>**/sv/core/throttle/compare/**</exclude>
                <exclude>**/sv/data/dto/oracle/MigrationStatus*</exclude>
              </excludes>
            </configuration>

This also did not work and also did not show the console log also: It was 
[JaCoCo plugin] exclusions: []

3. Putting both together also did not work.

How to achieve this exclusion?

Jenkins v: 2.69
Jacoco: 1.0.19

With Jacoco 2.2.1, the coverage was all 0 thats why I think the infra team here 
downgraded to eariler version.

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/096708a8-f40b-4049-8eaa-df6dac826445%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to