-
Bug
-
Resolution: Fixed
-
Blocker
-
Jenkins 1.650
Cppcheck Plugin 1.21
When using this plugin with the Multibranch plugin (https://wiki.jenkins-ci.org/display/JENKINS/Multi-Branch+Project+Plugin), Cppcheck fails to find the XML results file if the branch name contains a '/' (encoded as '%2F' on the filesystem).
This is because the XML parser is trying to decode the encoded characters itself, replacing the '%2F' with a '/'.
Opening the file directly in the Cppcheck plugin and passing a stream to the XML parser instead fixes the problem.
This may be related to JENKINS-30026?