Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-10835

Add support for JaCoCo coverage results

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: emma-plugin
    • Labels:
      None

      Description

      JaCoCo is the successor of emma.
      Maybe it is possible to support the new coverage file format.

        Activity

        Hide
        ognjenb Ognjen Bubalo added a comment -

        This project has been accepted for Google Summer of Code 2012.

        We created a mailing list.

        The URL: https://groups.google.com/forum/?fromgroups#!forum/jenkins-jacoco-plugin-mailing-list
        The Mailing list: jenkins-jacoco-plugin-mailing-list@googlegroups.com

        Join us please

        Show
        ognjenb Ognjen Bubalo added a comment - This project has been accepted for Google Summer of Code 2012. We created a mailing list. The URL: https://groups.google.com/forum/?fromgroups#!forum/jenkins-jacoco-plugin-mailing-list The Mailing list: jenkins-jacoco-plugin-mailing-list@googlegroups.com Join us please
        Hide
        jhespinosa Jose Espinosa added a comment -

        Have anybody run the jacoco_to_emma.xslt file on maven?

        When I run it I get the following error:

        [INFO] --- xml-maven-plugin:1.0:transform (default) @ my-app ---
        ERROR:  'Error checking type of the expression 'funcall(replace, [step("attribute", 22), literal-expr(/), literal-expr(.)])'.'
        FATAL ERROR:  'Could not compile stylesheet'
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 19.400s
        [INFO] Finished at: Thu Jun 07 17:04:31 PDT 2012
        [INFO] Final Memory: 20M/81M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.codehaus.mojo:xml-maven-plugin:1.0:transform (default) on project my-app: Failed to parse stylesheet javax.xml.transform.sax.SAXSource@233aa44: Could not compile stylesheet -> [Help 1]
        

        Any pointers? Thanks!

        Show
        jhespinosa Jose Espinosa added a comment - Have anybody run the jacoco_to_emma.xslt file on maven? When I run it I get the following error: [INFO] --- xml-maven-plugin:1.0:transform ( default ) @ my-app --- ERROR: 'Error checking type of the expression 'funcall(replace, [step( "attribute" , 22), literal-expr(/), literal-expr(.)])'.' FATAL ERROR: 'Could not compile stylesheet' [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 19.400s [INFO] Finished at: Thu Jun 07 17:04:31 PDT 2012 [INFO] Final Memory: 20M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:xml-maven-plugin:1.0:transform ( default ) on project my-app: Failed to parse stylesheet javax.xml.transform.sax.SAXSource@233aa44: Could not compile stylesheet -> [Help 1] Any pointers? Thanks!
        Hide
        schlegel_m Markus Schlegel added a comment -

        Hi Jose
        I do not know maven, and you did not provide the maven-config...
        I have the xslt still in use (with ant), the only thing I changed in the meantime is, that I use "BRANCH" instead of "COMPLEXITY" on line 102.

        Show
        schlegel_m Markus Schlegel added a comment - Hi Jose I do not know maven, and you did not provide the maven-config... I have the xslt still in use (with ant), the only thing I changed in the meantime is, that I use "BRANCH" instead of "COMPLEXITY" on line 102.
        Hide
        mickael_istria Mickael Istria added a comment -

        @Jose: you should use the jacoco plugin which is already available in version 0.1. See Ognjen's comment for useful links on this topic.

        Show
        mickael_istria Mickael Istria added a comment - @Jose: you should use the jacoco plugin which is already available in version 0.1. See Ognjen's comment for useful links on this topic.
        Hide
        mickael_istria Mickael Istria added a comment -
        Show
        mickael_istria Mickael Istria added a comment - Link to Jacoco reports plugin: https://wiki.jenkins-ci.org/display/JENKINS/JaCoCo+Plugin

          People

          • Assignee:
            ognjenb Ognjen Bubalo
            Reporter:
            ka3was Daniel Hirscher
          • Votes:
            25 Vote for this issue
            Watchers:
            20 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: