Ai
2 Star 0 Fork 1

袋鼠云/chengying-front

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
sonarcube.scanner.js 907 Bytes
一键复制 编辑 原始数据 按行查看 历史
ningyue 提交于 2022-05-11 16:17 +08:00 . first commit v4.3.2
const scanner = require("sonarqube-scanner");
const VERSION = JSON.stringify(require('./package.json').version); // app version.
scanner(
{
// this example uses local instance of SQ
serverUrl: "http://172.16.100.198:9000/",
token: "",
options: {
"sonar.projectVersion": VERSION,
"sonar.projectName": "dt-insight-front/dt-em-front",
"sonar.login": "yuwan",
"sonar.password": "123123",
"sonar.sources": "./src",
"sonar.exclusions": "**/__tests__/**, **/src/mocks/**, **/src/public/**, **/src/services/**, **/src/actions/**, **/src/model/**",
"sonar.tests": "./src",
"sonar.test.inclusions": "./src/__tests__/**/*.test.tsx,./src/__tests__/**/*.test.ts",
"sonar.typescript.lcov.reportPaths": "coverage/lcov.info",
"sonar.testExecutionReportPaths": "coverage/test-reporter.xml"
},
},
() => {
// callback is required
}
);
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dtstack_dev_0/chengying-front.git
git@gitee.com:dtstack_dev_0/chengying-front.git
dtstack_dev_0
chengying-front
chengying-front
master

搜索帮助