-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins ver. 1.602
Cppcheck Plug-in 1.21
Our WORKSPACE path is;
C:\JenkinsBuild\jenkins\workspace\development_#01_Thor12Inch
Note the '#' in this path.
The build fails over cppcheck with the following log;
[Cppcheck] Starting the cppcheck analysis.
[Cppcheck] Processing 1 files with the pattern 'cppcheck-result.xml'.
[Cppcheck] Parsing throws exceptions. javax.xml.bind.UnmarshalException
- with linked exception:
[java.io.FileNotFoundException: C:\JenkinsBuild\jenkins\workspace\development_ (The system cannot find the file specified)]
Build step 'Publish Cppcheck results' changed build result to FAILURE
Build step 'Publish Cppcheck results' marked build as failure
Apparently the cppcheck plugin finds the cppcheck-result.xml file but the parser fails to open because the path is truncated upon the '#'.
As a workaround we copy the cppcheck-result.xml file in to;
C:\JenkinsBuild\jenkins\workspace\development_