Issue Type: Bug Bug
Assignee: Gregory Boissinot
Components: cppcheck
Created: 08/Feb/13 12:23 PM
Description:

If I use --enable=style or --enable=all I get this error:

[Cppcheck] Starting the cppcheck analysis.
[Cppcheck] Processing 1 files with the pattern 'cppcheck-result2.xml'.
[Cppcheck] Parsing throws exceptions. javax.xml.bind.UnmarshalException

  • with linked exception:
    [com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 3-byte UTF-8 sequence.]
    Build step 'Publish Cppcheck results' changed build result to FAILURE
    Build step 'Publish Cppcheck results' marked build as failure

how I run cppcheck:

cppcheck --enable=style --xml-version=2 %workspace%\Main\ 2> cppcheck-result2.xml

this works fine: cppcheck --xml-version=2 %workspace%\Main\ 2> cppcheck-result2.xml

Environment: Windows XP, Jenkins 1.498, cppcheck plug-in 1.13, Cppcheck 1.57
Project: Jenkins
Priority: Major Major
Reporter: Eric Brito
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

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to