-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Windows 7, Jenkins ver. 2.76, cppcheck plug-in 1.21, Cppcheck 1.80
My environment is win 7,
1. Here is the error file from Console output of Jenkins
Building in workspace C:\Program Files (x86)\Jenkins\workspace\CPPCHECK
[CPPCHECK] $ cmd /c call C:\Windows\TEMP\jenkins6894265984033483171.bat
C:\Program Files (x86)\Jenkins\workspace\CPPCHECK>start C:\"Program Files"\Cppcheck\cppcheck.exe C:\"Program Files"\Cppcheck\cppcheck-plugin-master err.xml "C:\Program Files (x86"\Jenkins\workspace\CPPCHECK\err.xml
C:\Program Files (x86)\Jenkins\workspace\CPPCHECK>exit 0
[Cppcheck] Starting the cppcheck analysis.
[Cppcheck] Processing 1 files with the pattern 'err.xml'.
[Cppcheck] Parsing throws exceptions. javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException; systemId: file:/C:/Program%20Files%20(x86)/Jenkins/workspace/CPPCHECK/err.xml; lineNumber: 1; columnNumber: 1; Premature end of file.]
Build step 'Publish Cppcheck results' changed build result to FAILURE
Build step 'Publish Cppcheck results' marked build as failure
Finished: FAILURE
I checked the err.xml file. It's empty.There is no data
2. I also tried to run via cmd. There is no error on windows batch window but err.xml file is still empty