-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
Windows XP, Jenkins 1.498, cppcheck plug-in 1.13, Cppcheck 1.57
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