Not able to generate coverage report from jenkins

57 views
Skip to first unread message

Sukumar Reddy

unread,
Feb 8, 2017, 11:24:16 PM2/8/17
to Jenkins Users
Hello All I am using
 
1. Jenkins 
       Jenkins ver. 1.625.18.3 (CloudBees Jenkins Enterprise 15.11)
2. scoverage plugin: 
       SbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.0")
3. sbt version
        sbt-0.13.9
4. sbt settings:
         [process_args] java_version = '1.8.0_111'
         # Executing command line:
          java
         -Xms4096m 
         -Xmx4096m
         -XX:ReservedCodeCacheSize=512m
         -XX:MaxMetaspaceSize=1024m
         -jar

when i issue sbt coverage test coverageReport from jenkins
I am getting the below issue
[info] [info] Beginning coverage instrumentation
[info] [warn] Could not instrument [EmptyTree$/null]. No pos.
[info] [warn] Could not instrument [EmptyTree$/null]. No pos.
[info] [warn] Could not instrument [EmptyTree$/null]. No pos.
[info] [warn] Could not instrument [EmptyTree$/null]. No pos.

And the same if i try to do command line (linux) i am getting coverage

Could any one help me here. Thanks in advance

Victor Martinez

unread,
Feb 9, 2017, 3:15:07 AM2/9/17
to Jenkins Users
Since it's a CloudBees Jenkins Enterprise version, have you tried to contact CloudBees support? They might help you to drive/solve this issue.

Cheers

Ivan Fernandez Calvo

unread,
Feb 17, 2017, 3:27:32 AM2/17/17
to Jenkins Users
Hi

It is a sbt-coverage issue check the last comment at https://github.com/scoverage/sbt-scoverage/issues/134
Reply all
Reply to author
Forward
0 new messages