简体   繁体   English

Sonarqube插件开发

[英]Sonarqube Plugin development

我正在尝试为Sonar开发一个插件,该插件可以从某些第三方API获取输入并获得一些结果,第三方API将为我提供详细信息,例如行号和文件名,我想在该文件上添加一个链接声纳小部件,谁能帮我,如何在声纳小部件上创建指向特定文件和行的链接

I would recommend you to learn a bit about developing plugins for SonarQube because the question you asked is very generic and so extense to answer. 我建议您学习一些有关为SonarQube开发插件的知识,因为您提出的问题非常笼统,因此答案很广。 Here are some links to get some information about the development: 以下是一些链接,以获取有关开发的一些信息:

http://docs.sonarqube.org http://docs.sonarqube.org

https://deors.wordpress.com (sweet intro tutorial) https://deors.wordpress.com(甜蜜入门教程)

The plugin you want to seems pretty simple so easy to implement. 您想要的插件看起来非常简单,易于实现。 The main class that you should have to work on is the Sensor , where you would like to create issues referring the code-files and the lines on it. 您必须处理的主要类是Sensor ,您想在其中创建引用代码文件及其上的行的问题。

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

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