Solved by using the following step definition on the respective step:
step([$class: 'ScoveragePublisher', reportDir: 'target', reportFile:
'scoverage.xml'])
Also, in scoverage maven configuration, i have set the following:
<plugin>
<groupId>org.scoverage</groupId>
<artifactId>scoverage-maven-plugin</artifactId>
<version>${scoverage.plugin.version}</version>
<configuration>
<scalaVersion>${scala-library.version}</scalaVersion>
<aggregate>true</aggregate>
<outputDirectory>${project.build.directory}/Scoverage_Report/</outputDirectory>
</configuration>
</plugin>
On Tuesday, August 29, 2017 at 11:07:43 AM UTC+3, [email protected] wrote:
>
> Hi Gaston,
>
> Any luck with this? I am facing the same problem.
>
> Thank you.
>
> On Thursday, January 19, 2017 at 1:12:50 AM UTC+2, Gastón Tonietti wrote:
>>
>> Hi Daniel,
>>
>> Indeed I have plenty of security errors on the console when trying to
>> load the html report.
>> But TBH I'd be more interested in setting up the scoverage plugin as it
>> generates a trend graph too.
>>
>> Are you aware of the syntax I should use in my Jenkinsfile to enable it?
>>
>> Thank you!
>> Gaston.
>>
>> On Thursday, January 19, 2017 at 12:16:11 AM UTC+11, Daniel Beck wrote:
>>>
>>>
>>> > On 18.01.2017, at 01:39, Gastón Tonietti <[email protected]>
>>> wrote:
>>> >
>>> > I tried with publishHTML, the report seems to be there in the build
>>> but when I open it only a couple of blank frames are shown.
>>>
>>> Check your browser's error console. Maybe this is SECURITY-95?
>>>
>>>
>>> https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy
>>>
>>>
>>>
--
You received this message because you are subscribed to the Google Groups
"Jenkins 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/jenkinsci-users/c5e3cd19-63f5-4f28-8a8a-2440f446464c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.