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

Put a warning about report in legacy format to build log

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Component/s: cppcheck-plugin
    • Labels:
      None
    • Environment:
      All
    • Similar Issues:

      Description

      If '--xml-version=2' is not passed to Cppcheck, it will generate the report in legacy format. Build log should contain a warning about that to inform the user.

             --xml
                 Write results in XML to error stream
      
             --xml-version=<version>
                 Select the XML file version. Currently versions 1 and 2 are available. The default version is 1.
      

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Michal Turek
            Path:
            src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckParserResult.java
            src/main/java/org/jenkinsci/plugins/cppcheck/parser/CppcheckParser.java
            http://jenkins-ci.org/commit/cppcheck-plugin/5e25a2934af8f15e1d1f7b5c00a21fe75f6052fd
            Log:
            JENKINS-24007 Put a warning about report in legacy format to build log

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michal Turek Path: src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckParserResult.java src/main/java/org/jenkinsci/plugins/cppcheck/parser/CppcheckParser.java http://jenkins-ci.org/commit/cppcheck-plugin/5e25a2934af8f15e1d1f7b5c00a21fe75f6052fd Log: JENKINS-24007 Put a warning about report in legacy format to build log
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Michal Turek
            Path:
            src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckParserResult.java
            src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckResult.java
            src/main/java/org/jenkinsci/plugins/cppcheck/parser/CppcheckParser.java
            http://jenkins-ci.org/commit/cppcheck-plugin/61e07237bdd4376e216d857ed32d3bdc8a6be3d7
            Log:
            Merge pull request #22 from mixalturek/master

            JENKINS-24007 Put a warning about report in legacy format to build log

            Compare: https://github.com/jenkinsci/cppcheck-plugin/compare/756ed9454c66...61e07237bdd4

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michal Turek Path: src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckParserResult.java src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckResult.java src/main/java/org/jenkinsci/plugins/cppcheck/parser/CppcheckParser.java http://jenkins-ci.org/commit/cppcheck-plugin/61e07237bdd4376e216d857ed32d3bdc8a6be3d7 Log: Merge pull request #22 from mixalturek/master JENKINS-24007 Put a warning about report in legacy format to build log Compare: https://github.com/jenkinsci/cppcheck-plugin/compare/756ed9454c66...61e07237bdd4
            Hide
            mixalturek Michal Turek added a comment -

            Implemented, will be released in version 1.20.

            Show
            mixalturek Michal Turek added a comment - Implemented, will be released in version 1.20.

              People

              • Assignee:
                mixalturek Michal Turek
                Reporter:
                mixalturek Michal Turek
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: