[jbosstools-issues] [JBoss JIRA] (JBIDE-16214) Code Coverage jobs needs to have locally available measured plugins

Mickael Istria (JIRA) issues at jboss.org
Thu Jan 9 11:49:32 EST 2014


    [ https://issues.jboss.org/browse/JBIDE-16214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934753#comment-12934753 ] 

Mickael Istria commented on JBIDE-16214:
----------------------------------------

[~vpakan]: I've worked on an hopefully better script to generate reports using the jars that are actually used by tests, and not the class expected to be present in target/ folders. I've made some tests and it works better. See https://github.com/jbosstools/jbosstools-build-ci/commit/d957d27dcea140ecf37d8304ccd9f18b9c3df8fa
Can you try it? After running some tests, can you try
{code}
 $ groovy -cp jacocoant.jar:/home/mistria/.m2/repository/org/apache/ant/ant/1.8.4/ant-1.8.4.jar jacococ.groovy org.jboss.tools.openshift
{code}
Where org.jboss.tools.openshift is a pattern for the jars to inspect (can be org.jboss.tools.webservices for webservices, org.hibernate.tools for Hibernate Tools...).
                
> Code Coverage jobs needs to have locally available measured plugins
> -------------------------------------------------------------------
>
>                 Key: JBIDE-16214
>                 URL: https://issues.jboss.org/browse/JBIDE-16214
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: build
>    Affects Versions: 4.1.1.CR1
>            Reporter: Vlado Pakan
>            Assignee: Mickael Istria
>             Fix For: 4.1.x
>
>
> Code Coverage calculating via maven build returns 0% coverage because it's using source code and binary plugins installed from update site.
> When these are built locally prior to build calculating code coverage it returns correct results.
> Unfortunately sometimes maven build used plugins installed from update site instead of those which are locally build.
> We need to find way how to fix this.
> It's already reported here https://bugs.eclipse.org/bugs/show_bug.cgi?id=352560

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list