[ 
https://issues.apache.org/jira/browse/SLING-11400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17556454#comment-17556454
 ] 

Konrad Windszus commented on SLING-11400:
-----------------------------------------

Good catch [[email protected]], indeed using the jacoco profile with just 
the Sonar goal does not work 
(https://github.com/apache/sling-tooling-jenkins/blob/29716d18807c84a267e58c813ab02135c84ba95d/vars/slingOsgiBundleBuild.groovy#L207)
 is it requires execution of some Maven phases. We have to instead enable that 
in the preceding Maven build (only for the reference one).

> Jacoco coverage was missing on PR
> ---------------------------------
>
>                 Key: SLING-11400
>                 URL: https://issues.apache.org/jira/browse/SLING-11400
>             Project: Sling
>          Issue Type: Bug
>          Components: Build and Source Control
>            Reporter: Ashok Pelluru
>            Assignee: Konrad Windszus
>            Priority: Major
>
> It seems like, after recent changes, jacoco test coverage was missing on pull 
> requests: 
> jacoco test coverage plugin itself is not executing
> *jacoco-maven-plugin*
>  
> Example PR: 
> [https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler/pull/10]
>  
>  
> Build Console: 
> [https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-scripting-sightly-compiler/view/change-requests/job/PR-10/1/console]
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to