Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[FIXED JENKINS-25511] [JENKINS-17309] Reverted XML escaping of message.
Revert of fix for JENKINS-17309. Previous solution was too aggressive, it makes sense to escape only messages from parsers that parse non-XML files. XML parsers should not escape entities at all. AbstractAnnotation never escapes entities now, only GCC parser escapes and invokes constructor with escaped message.
- Loading branch information
Showing
with
33 additions
and 3 deletions.
- +13 −0 .idea/libraries/Maven__org_jvnet_hudson_plugins_analysis_core_1_66.xml
- +1 −1 analysis-collector
- +1 −1 checkstyle
- +17 −0 compile.sh
- +1 −1 warnings
There are no files selected for viewing
Submodule checkstyle
updated
4 files
+47 −47 | checkstyle.iml | |
+2 −2 | pom.xml | |
+28 −6 | src/test/java/hudson/plugins/checkstyle/parser/CheckStyleParserTest.java | |
+7 −0 | src/test/resources/hudson/plugins/checkstyle/parser/issue25511.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
rm -rf $JENKINS_HOME/plugins/analysis-* | ||
rm -rf $JENKINS_HOME/plugins/checkstyle* | ||
rm -rf $JENKINS_HOME/plugins/dry* | ||
rm -rf $JENKINS_HOME/plugins/findbugs* | ||
rm -rf $JENKINS_HOME/plugins/pmd* | ||
rm -rf $JENKINS_HOME/plugins/tasks* | ||
rm -rf $JENKINS_HOME/plugins/warnings* | ||
|
||
mvn clean install || { echo "Build failed"; exit 1; } | ||
|
||
cp */target/*.hpi $JENKINS_HOME/plugins | ||
cp findbugs/plugin/target/*.hpi $JENKINS_HOME/plugins | ||
|
||
|
||
|
Submodule warnings
updated
7 files