简体   繁体   English

有没有办法让 sonarQube 在社区版中使用 Dev 分支而不是 main ?

[英]Is there any way to enable sonarQube to use Dev branch instead of main in community edition?

SonarQube community edition support scanning the code present in the main branch. SonarQube 社区版支持扫描主分支中的代码。 But I want to use sonarqube to scan my Dev branch.但我想使用 sonarqube 来扫描我的开发分支。 Since I want to use Dev branch for my active development and main branch for my releases.因为我想将 Dev 分支用于我的主动开发和主分支用于我的发布。

I red some where we have this option in the community edition.我在社区版中有这个选项的地方加红了一些。 Please help me with your valuable answers.请帮我解答您的宝贵意见。

On the following link you can find: 在以下链接中,您可以找到:

In the previous versions(before 7.7) of SonarQube we could analyze multiple branches of our project.在 SonarQube 的先前版本(7.7 之前)中,我们可以分析项目的多个分支。 But after that version we can analyze only master branch with SonarQube in Community edition.但是在那个版本之后,我们只能在社区版中使用 SonarQube 分析 master 分支。

I suggest to use Developer Edition if you have enough budget.如果你有足够的预算,我建议使用开发者版。 If you do not have enough budget there is a SonarQube plugin that you can make branch analysis with any branch.如果您没有足够的预算,可以使用 SonarQube 插件,您可以使用任何分支进行分支分析。

Link to plugin .链接到插件

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

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