简体   繁体   中英

Blank Scoverage HTML Report on Jenkins

I'm using Scoverage for coverage reporting on a scala project. The XML report is generated properly but the HTML version looks blank like this

在此处输入图片说明

I'm using scalatest version "3.1.1" and latest coverage plugin version

addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")

This problem seems to be around for a long time with the Jenkins plugin, see issue but without any recent activity/fix.

What would be an alternative option? is switching to JaCoCo would help?

Main issue still not resolved, I'm currently using this plugin in Chrome Content Security Policy Override with a config like this

# Whitelisting jenkins SCoverage Report:
[
  ["https://jenkins\\.mydomain\\.com", [
    [".*", ""]
  ]]
]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM