简体   繁体   English

使用来自 git hub 项目的 Jenkins 中的 Spotbugs 进行静态分析

[英]Static analysis using Spotbugs in Jenkins from git hub project

i am trying to do static analysis using spotbugs in jenkins from github project (multi module ) all module have different spotbugxml.xml file in target (it is not in main target folder ) and pom.xml but when i am trying to static analysis , jenkins done it only for one module so question is here how can we do static analysis(spotbugs ) for all module我正在尝试使用来自 github 项目(多模块)的 jenkins 中的 spotbugs 进行静态分析,所有模块在目标(它不在主目标文件夹中)和 pom.xml 中都有不同的 spotbugxml.xml 文件,但是当我尝试进行静态分析时, jenkins 只为一个模块完成了它,所以问题是我们如何对所有模块进行静态分析(spotbugs)
point:- 1)Do we have to merge all spotbugsxml.xml file ?要点:- 1)我们是否必须合并所有 spotbugsxml.xml 文件? if yes then how ?如果是,那么如何? 2)or any other solution ? 2)或任何其他解决方案?

  1. No, you can use a pattern.不,您可以使用模式。

  2. For example '**/spotbugsXml.xml'例如'**/spotbugsXml.xml'

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

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