[英]Can i do sonar scan on the Gerrit patch?
As part of my precheckin workflow in Gerrit I want to configure sonarqube to perform scan on the submitted patch, I am using sonar-gerrit plugin in my Jenkins and configured gerrit-trigger to run this analysis job. 作为我在Gerrit中的precheckin工作流程的一部分,我想配置sonarqube以对提交的补丁执行扫描,我在我的Jenkins中使用sonar-gerrit插件并配置gerrit-trigger来运行此分析工作。 This job is configured with preview mode and runs analysis but the the analysis happens on the repository which doesn't include the submitted patchset.
此作业配置了预览模式并运行分析,但分析发生在不包含已提交的补丁集的存储库中。 How can i ensure to run the analysis on the patchset?
如何确保在补丁集上运行分析?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.