我创建了一个 bitbucket 管道,我正在尝试将我的ScalaStyle1
报告与 bitbucketcheckstyle
报告集成。
https://bitbucket.org/atlassian/checkstyle-report/src/master/
但是,它显示错误,它无法解析。
Dec 02, 2021 3:51:19 PM se.bjurr.violations.lib.reports.Parser findViolations
SEVERE: Error when parsing /opt/atlassian/pipelines/agent/build/checkstyle-result.xml as CHECKSTYLE
java.lang.RuntimeException: "line" not found in "<error source="org.scalastyle.file.NewLineAtEofChecker" severity="warning" message="File must end with newline character"/>"
at se.bjurr.violations.lib.util.ViolationParserUtils.getAttribute(ViolationParserUtils.java:81)
at se.bjurr.violations.lib.util.ViolationParserUtils.getIntegerAttribute(ViolationParserUtils.java:128)
at se.bjurr.violations.lib.parsers.CheckStyleParser.parseReportOutput(CheckStyleParser.java:32)
at se.bjurr.violations.lib.reports.Parser.findViolations(Parser.java:117)
at se.bjurr.violations.lib.ViolationsApi.violations(ViolationsApi.java:58)
at com.atlassian.bitbucket.pipelines.checkstyle.report.Main.main(Main.java:97)
Submitted report. Response:200 OK