Quantcast

Combining coverage reports

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Combining coverage reports

Andrew Melo
Hello all,

We have a large unittesting suite split into a matrix job. I'd like to
combine the coverage reports from the different matrix configurations
into one coverage report. I can handle the actual munging of the
coverage reports, but before I go off trying to make glue things
together, I was curious about what would be the best way to make a
job, then ship all the coverage reports from the submatrix jobs to it.
I feel like I can figure out making a dependent job, but I don't know
how to get the files moved around.

Thanks,
Andrew

--
--
Andrew Melo
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Combining coverage reports

Sami Tikka
In the matrix job, archive the reports as build artifacts.

Then make another, simple freestyle job that gets triggered when the matrix job completes. This job will use Copy Artifact build step to download the artifacts. Click on the help buttons (the question marks) of the Copy Artifacts step. I'm pretty sure the help includes instructions how to pick up all artifacts from a matrix job.

-- Sami

Andrew Melo <[hidden email]> kirjoitti 22.8.2012 kello 0.21:

> Hello all,
>
> We have a large unittesting suite split into a matrix job. I'd like to
> combine the coverage reports from the different matrix configurations
> into one coverage report. I can handle the actual munging of the
> coverage reports, but before I go off trying to make glue things
> together, I was curious about what would be the best way to make a
> job, then ship all the coverage reports from the submatrix jobs to it.
> I feel like I can figure out making a dependent job, but I don't know
> how to get the files moved around.
>
> Thanks,
> Andrew
>
> --
> --
> Andrew Melo

Loading...