【发布时间】:2021-05-13 15:47:50
【问题描述】:
我正在尝试使用 sonarqube 分析我想每天运行的 azure devops git 存储库中的特定文件 (filename.ts)。
到目前为止我已经建立:
-
A sonarqube project and generated project token in our sonarqube saas. -
Created a CD release pipeline in Azure DevOps including the predefined sonarqube tasks: * prepare analysis on sonarqube (unclear to me how I configure this) * run code analysis (looks as if this doesn't require configuration) * publish quality gate (same belief here that it doesn't require configuration) -
Identified the repository where the file exists in the azure repo. -
I have also discovered the artifact name that the repo's CI pipeline generates. -
Found a preconfigured sonarqube service connection in Azure DevOps.
我现在摸不着头脑的是确定以下几点:
a. How to tell my CD pipeline where the file is in the azure repo. Should I point it to the file in the Repo? Or should i take it from the CI artifact?
b. Would the sonarqube project require further configuration so to see the file?
我觉得这个谜题还有很多部分。谁能指出我正确的道路,请包括我可能没有想到的任何其他内容?
【问题讨论】:
标签: typescript azure-devops continuous-integration sonarqube continuous-deployment