Scoverage reports

2017-01-17 Thread Gastón Tonietti
Hi everyone,

I'm having some problems trying to publish scoverage reports on Jenkins. 
I'm using Pipelines configured by a Jenkinsfile.
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.
Then searching I found there is a specific Jenking plugin for Scoverage, I 
installed it but I can't find any entry for it in the snippets generator, 
so I tried a couple of random syntaxes without any luck :)

What is the proper way of publishing a scoverage report from a Jenkinsfile?

Thank you all,
Gaston.

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c70e366d-7b59-4548-bf63-0035e8c68dbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Scoverage reports

2019-06-10 Thread Chaitanya Reddy
Hi,

Was this a multi module project. 

On Tuesday, August 29, 2017 at 8:09:23 AM UTC-7, nvio...@atypon.com wrote:
>
> 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:
>
> 
> org.scoverage
> scoverage-maven-plugin
> ${scoverage.plugin.version}
> 
> ${scala-library.version}
> true
> 
> ${project.build.directory}/Scoverage_Report/
> 
> 
>
> On Tuesday, August 29, 2017 at 11:07:43 AM UTC+3, nvio...@atypon.com 
> 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  
 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2ab8db8f-8882-44d5-979a-a703ed65d508%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Scoverage reports

2017-08-29 Thread nviorres
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  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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/acf8712c-4876-4e3d-855b-dcf07615940d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Scoverage reports

2017-08-29 Thread nviorres
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:


org.scoverage
scoverage-maven-plugin
${scoverage.plugin.version}

${scala-library.version}
true

${project.build.directory}/Scoverage_Report/



On Tuesday, August 29, 2017 at 11:07:43 AM UTC+3, nvio...@atypon.com 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  
>>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
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.


Re: Scoverage reports

2017-01-18 Thread Daniel Beck

> On 18.01.2017, at 01:39, Gastón Tonietti  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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/E35EF768-90B1-48AF-B168-83B2936EF0A4%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Scoverage reports

2017-01-18 Thread Gastón Tonietti
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  > 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/57819293-54f1-44c1-9f73-0916adce68c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.