You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Julian Sedding <js...@gmail.com> on 2020/02/28 16:18:28 UTC

Re: SLING-8995 - Code coverage is no longer picked up by Sonar Cloud

I've created a PR for this [0]. I reached the same conclusion as Daniel.

Regards
Julian

[0] https://github.com/apache/sling-tooling-jenkins/pull/3

On Thu, Jan 16, 2020 at 6:19 PM Daniel Klco <da...@gmail.com> wrote:
>
> It looks like this is due to Sonar Qube deprecating the property
> sonar.jacoco.reportPaths:
> https://stackoverflow.com/questions/55861602/sonarqube-jacoco-coverage-reports-ec-xml-reports-not-displayed-together
> We
> should be able to switch to the sonar.jacoco.xmlReportPaths and get it
> working again. I can take a swing at it, but unfortunately, I'm probably
> not going to be able to do so until next week so if anyone has some time
> earlier, go ahead!
>
> On Thu, Jan 16, 2020 at 11:00 AM Robert Munteanu <ro...@apache.org> wrote:
>
> > Hi,
> >
> > We no longer get code coverage from SonarCloud, see [1] for details. If
> > anyone has the availability to look into this, it would be greatly
> > appreciated.
> >
> > Thanks,
> > Robert
> >
> >
> > [1]: https://issues.apache.org/jira/browse/SLING-8995
> >
> >

Re: SLING-8995 - Code coverage is no longer picked up by Sonar Cloud

Posted by Julian Sedding <js...@gmail.com>.
Hi all

After merging the change I saw some coverage data in a PR. Seems to be fixed.

Regards
Julian

On Fri, Feb 28, 2020 at 5:18 PM Julian Sedding <js...@gmail.com> wrote:
>
> I've created a PR for this [0]. I reached the same conclusion as Daniel.
>
> Regards
> Julian
>
> [0] https://github.com/apache/sling-tooling-jenkins/pull/3
>
> On Thu, Jan 16, 2020 at 6:19 PM Daniel Klco <da...@gmail.com> wrote:
> >
> > It looks like this is due to Sonar Qube deprecating the property
> > sonar.jacoco.reportPaths:
> > https://stackoverflow.com/questions/55861602/sonarqube-jacoco-coverage-reports-ec-xml-reports-not-displayed-together
> > We
> > should be able to switch to the sonar.jacoco.xmlReportPaths and get it
> > working again. I can take a swing at it, but unfortunately, I'm probably
> > not going to be able to do so until next week so if anyone has some time
> > earlier, go ahead!
> >
> > On Thu, Jan 16, 2020 at 11:00 AM Robert Munteanu <ro...@apache.org> wrote:
> >
> > > Hi,
> > >
> > > We no longer get code coverage from SonarCloud, see [1] for details. If
> > > anyone has the availability to look into this, it would be greatly
> > > appreciated.
> > >
> > > Thanks,
> > > Robert
> > >
> > >
> > > [1]: https://issues.apache.org/jira/browse/SLING-8995
> > >
> > >