Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
Taken the checkstyle report produced by PHP_CodeSniffer (file: phpcs_checkstyle.xml) is transformed in Jenkins version (file: jenkins_checkstyle.xml) when it's been published after build ends.
However during that transformation the content id double-escaped:
1.
"
is transformed into
"
2.
"
is transformed into
"
Original issue posted on PHP_CodeSniffer issue tracker: https://github.com/squizlabs/PHP_CodeSniffer/issues/315
P.S.
Both files are from different builds, so please ignore fact, that warnings don't match.
Attachments
Issue Links
- depends on
-
JENKINS-17309 XML escaping (or lack thereof)
-
- Resolved
-
As you can see Jenkins already does double escaping when job publishes it's Checkstyle.xml report (the <message> node in jenkins_checkstyle.xml). If that will be fixed, then I guess all should be ok.
However if API xml request doesn't escape content considering that published checkstyle xml file already was escaped then this might be problematic.