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

The cppTest 9.5 xml output doesn't match the current parser rule

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cpptest-plugin
    • Labels:
      None
    • Environment:
      jenkins 1.410, cpptest-plugin 0.9
    • Similar Issues:

      Description

      The cppTest framework has changed its output format. The current parser doesn't correctly interpret the content.

        Attachments

          Activity

          Hide
          gbois Gregory Boissinot added a comment -

          Please attach the report file.
          Could you also test with cpptest version 0.10?

          Show
          gbois Gregory Boissinot added a comment - Please attach the report file. Could you also test with cpptest version 0.10?
          Hide
          alecharp Adrien Lecharpentier added a comment - - edited

          Hi,

          I just test the report with the new 0.10 version. Doesn't fix it: still 0 warning.

          Thanks.

          Show
          alecharp Adrien Lecharpentier added a comment - - edited Hi, I just test the report with the new 0.10 version. Doesn't fix it: still 0 warning. Thanks.
          Hide
          nlegrand Nicolas LE GRAND added a comment -

          Sorry, i made a mistake (Assigned to me).

          But i would like to know if the corrections will let us see Parasoft test integration results. At the moment, i just see some MISRA results...
          Thanks by advance.

          Nicolas.

          Show
          nlegrand Nicolas LE GRAND added a comment - Sorry, i made a mistake (Assigned to me). But i would like to know if the corrections will let us see Parasoft test integration results. At the moment, i just see some MISRA results... Thanks by advance. Nicolas.
          Hide
          dridi Dridi Boukelmoune added a comment -

          Hi,

          I have sent a pull request here:
          https://github.com/jenkinsci/cpptest-plugin/pull/6

          Dridi

          Show
          dridi Dridi Boukelmoune added a comment - Hi, I have sent a pull request here: https://github.com/jenkinsci/cpptest-plugin/pull/6 Dridi
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Dridi Boukelmoune
          Path:
          src/main/java/com/thalesgroup/hudson/plugins/cpptest/VersionComparator.java
          src/test/java/com/thalesgroup/hudson/plugins/cpptest/VersionComparatorTest.java
          http://jenkins-ci.org/commit/cpptest-plugin/714cc2cf56cebfd46d655f964b3bbd47d565de44
          Log:
          Add a simple version number comparator

          refs JENKINS-18727

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Dridi Boukelmoune Path: src/main/java/com/thalesgroup/hudson/plugins/cpptest/VersionComparator.java src/test/java/com/thalesgroup/hudson/plugins/cpptest/VersionComparatorTest.java http://jenkins-ci.org/commit/cpptest-plugin/714cc2cf56cebfd46d655f964b3bbd47d565de44 Log: Add a simple version number comparator refs JENKINS-18727
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Dridi Boukelmoune
          Path:
          src/main/java/com/thalesgroup/hudson/plugins/cpptest/CpptestInputMetric.java
          src/test/java/com/thalesgroup/hudson/plugins/cpptest/CpptestXSLTest.java
          src/test/resources/com/thalesgroup/hudson/plugins/cpptest/testcase2/junit-result.xml
          src/test/resources/com/thalesgroup/hudson/plugins/cpptest/testcase2/result.xml
          http://jenkins-ci.org/commit/cpptest-plugin/e607affb871ea1a3c157ae3cba8d7e942a90a248
          Log:
          Choose the XSL file based on the report version

          Starting with cpptest 9.0, the report file format changed slightly,
          fortunately the tool version can be found at the same address xml-wise.

          This implementation uses a stream reader to avoid completely reading the
          report twice: once for the version, and once for the conversion. This is
          convenient since the tool version is in the very first element.

          The file `cpptestunit-9.0-to-junit-1.0.xsl` isn't actually part of this
          commit.

          refs JENKINS-18727

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Dridi Boukelmoune Path: src/main/java/com/thalesgroup/hudson/plugins/cpptest/CpptestInputMetric.java src/test/java/com/thalesgroup/hudson/plugins/cpptest/CpptestXSLTest.java src/test/resources/com/thalesgroup/hudson/plugins/cpptest/testcase2/junit-result.xml src/test/resources/com/thalesgroup/hudson/plugins/cpptest/testcase2/result.xml http://jenkins-ci.org/commit/cpptest-plugin/e607affb871ea1a3c157ae3cba8d7e942a90a248 Log: Choose the XSL file based on the report version Starting with cpptest 9.0, the report file format changed slightly, fortunately the tool version can be found at the same address xml-wise. This implementation uses a stream reader to avoid completely reading the report twice: once for the version, and once for the conversion. This is convenient since the tool version is in the very first element. The file `cpptestunit-9.0-to-junit-1.0.xsl` isn't actually part of this commit. refs JENKINS-18727
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          .gitignore
          src/main/java/com/thalesgroup/hudson/plugins/cpptest/CpptestInputMetric.java
          src/main/java/com/thalesgroup/hudson/plugins/cpptest/VersionComparator.java
          src/main/resources/com/thalesgroup/hudson/plugins/cpptest/cpptestunit-9.0-to-junit-1.0.xsl
          src/test/java/com/thalesgroup/hudson/plugins/cpptest/CpptestXSLTest.java
          src/test/java/com/thalesgroup/hudson/plugins/cpptest/VersionComparatorTest.java
          src/test/resources/com/thalesgroup/hudson/plugins/cpptest/testcase2/junit-result.xml
          src/test/resources/com/thalesgroup/hudson/plugins/cpptest/testcase2/result.xml
          http://jenkins-ci.org/commit/cpptest-plugin/d15f2f0dca4e2e1621fffe87d3ce7e44a6100f0c
          Log:
          Merge pull request #6 from Zenika/cpptest-9.0-support

          JENKINS-18727 Cpptest 9.0+ support

          Compare: https://github.com/jenkinsci/cpptest-plugin/compare/56b6679cb820...d15f2f0dca4e

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: .gitignore src/main/java/com/thalesgroup/hudson/plugins/cpptest/CpptestInputMetric.java src/main/java/com/thalesgroup/hudson/plugins/cpptest/VersionComparator.java src/main/resources/com/thalesgroup/hudson/plugins/cpptest/cpptestunit-9.0-to-junit-1.0.xsl src/test/java/com/thalesgroup/hudson/plugins/cpptest/CpptestXSLTest.java src/test/java/com/thalesgroup/hudson/plugins/cpptest/VersionComparatorTest.java src/test/resources/com/thalesgroup/hudson/plugins/cpptest/testcase2/junit-result.xml src/test/resources/com/thalesgroup/hudson/plugins/cpptest/testcase2/result.xml http://jenkins-ci.org/commit/cpptest-plugin/d15f2f0dca4e2e1621fffe87d3ce7e44a6100f0c Log: Merge pull request #6 from Zenika/cpptest-9.0-support JENKINS-18727 Cpptest 9.0+ support Compare: https://github.com/jenkinsci/cpptest-plugin/compare/56b6679cb820...d15f2f0dca4e

            People

            Assignee:
            alecharp Adrien Lecharpentier
            Reporter:
            alecharp Adrien Lecharpentier
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: