Sonarqube issue

  Kiến thức lập trình

I ran a pipeline on azure dev ops —
What could be causing this issue on sonarqube?

`
INFO: Parsing /deal/kubernetes/agent1/_work/2/s/sonar-report.xml
WARN: Using ‘unitTest’ as root element of the report is deprecated. Please change to ‘testExecutions’.
INFO: Time spent writing ucfgs 228ms
INFO: ————————————————————————
INFO: EXECUTION FAILURE
INFO: ————————————————————————
INFO: Total time: 1:35.337s
INFO: Final Memory: 50M/174M
INFO: ————————————————————————
##[error]ERROR: Error during SonarScanner execution
ERROR: Error during parsing of generic test execution report ‘/deal/kubernetes/agent1/_work/2/s/sonar-report.xml’. Look at the SonarQube documentation to know the expected XML format.
ERROR: Caused by: ParseError at [row,col]:[4847,23]
Message: An invalid XML character (Unicode: 0x1b) was found in the CDATA section.
ERROR:
ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
ERROR: Error during SonarScanner execution
ERROR: Error during parsing of generic test execution report ‘/deal/kubernetes/agent1/_work/2/s/sonar-report.xml’. Look at the SonarQube documentation to know the expected XML format.
ERROR: Caused by: ParseError at [row,col]:[4847,23]
Message: An invalid XML character (Unicode: 0x1b) was found in the CDATA section.
ERROR:
ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
##[warning]LIB_ResourceFile does not exist
##[warning]Resource file haven’t been set, can’t find loc string for key: LIB_ProcessExitCode
##[warning]Error while executing SonarQube:Analyze task: LIB_ProcessExitCode /deal/kubernetes/agent1/_work/_tasks/SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055/5.20.1/sonar-scanner/bin/sonar-scanner 2
##[error]LIB_ProcessExitCode /deal/kubernetes/agent1/_work/_tasks/SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055/5.20.1/sonar-scanner/bin/sonar-scanner 2
Finishing: Run Code Analysis

`

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT