There was an error while loading. Please reload this page.
1 parent 1128499 commit b24b502Copy full SHA for b24b502
1 file changed
.github/scripts/checkstyle-pr.sh
@@ -92,6 +92,7 @@ for module in "${!module_files[@]}"; do
92
mvn checkstyle:check -X \
93
-Dcheckstyle.config.location="$PROJECT_ROOT/checkstyle/huawei-checkstyle.xml" \
94
-Dcheckstyle.violationSeverity=warning \
95
+ -Dcheckstyle.outputFormat=xml \
96
-Dcheckstyle.includes="**/SampleViolations.java,**/testCheckstyle.java" )
97
mvn_exit=$?
98
if [ $mvn_exit -ne 0 ]; then
@@ -112,6 +113,7 @@ for module in "${!module_files[@]}"; do
112
113
set +e
114
(cd "$module" && mvn checkstyle:checkstyle \
115
116
+ -Dcheckstyle.outputFormat=html \
117
-Dcheckstyle.violationSeverity=warning) > /dev/null 2>&1
118
set -e
119
echo ""
0 commit comments