简体   繁体   English

我们可以访问Sonar Qube插件中存储库文件的源代码吗?

[英]Can we access source code of the repository files within the Sonar Qube plugin?

I am working on a SonarQube plugin. 我正在研究SonarQube插件。 As part of that, I need to access the source code for a specific project in SonarQube. 作为其中的一部分,我需要访问SonarQube中特定项目的源代码。

I am newbie in SonarQube. 我是SonarQube的新手。 Is there any way we can do this? 有什么办法可以做到这一点?

PS: I tried searching documentation. PS:我尝试搜索文档。 But I didnt find any concrete steps. 但是我没有找到任何具体步骤。

Thanks in advance. 提前致谢。

Best Regards Gowtham 最好的问候哥谭

SonarQube使用API​​为此提供了一个选项: https ://next.sonarqube.com/sonarqube/web_api/api/sources

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM