SONARQUBE lcov导入错误-无法解析1个文件路径 [英] SONARQUBE lcov import error - Could not resolve 1 file paths
本文介绍了SONARQUBE lcov导入错误-无法解析1个文件路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每当我尝试将lcov报告导入SONAR时,都会收到以下错误消息
I am getting the below error whenever I try to import lcov report in to SONAR
15:00:17.230 WARN: Could not resolve 1 file paths in [/opt/app/workload/jenkins_25172/data/jobs/DEV02/workspace/coverage/lcov.info], first unresolved path: /opt/app/workload/jenkins_25172/data/jobs/DEV02/workspace/common/actions/actionCreators.js
SONAR属性:
sonar.login=**
sonar.password=**
sonar.verbose=true
sonar.language=js
sonar.sources=.
sonar.projectBaseDir=/opt/app/workload/jenkins_25172/data/jobs/DEV02/workspace/
sonar.inclusions=coverage/**/*
sonar.javascript.lcov.reportPath=coverage/lcov.info
sonar.projectKey=test2
sonar.projectName=test2
sonar.projectVersion=version1
sonar.branch=test
sonar.att.view.type=dev
sonar.tattletale.enabled=false
感谢您提供任何解决此问题的方法.
Any input to fix this issue is appreciated.
推荐答案
寻找相同解决方案的人可以尝试以下操作:
reportPath到reportPaths
reportPath to reportPaths
sonar.javascript.lcov.reportPaths=coverage/lcov.info
OR(如果是打字稿)
OR (in case of tyescript)
sonar.typescript.lcov.reportPath=coverage/lcov.info
这篇关于SONARQUBE lcov导入错误-无法解析1个文件路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文