环境:Java/Linux/Gradle 1.6/Jenkins 最新
gradle clean build jacocoTestReport sonarRunner - 工作正常。
在 sonarRunner 任务期间,当 sonarRunner 尝试将数据发布到 Sonar 自己的数据库 (org.h2.jdbc..) 时,我看到以下缺少的类/行
我在输出中看到以下几行。我该怎么做才能使这些丢失的项目最终不会在 sonarRunner 任务/步骤中显示出来。
11:15:47 11:15:47.076 INFO - Findbugs output report: /production/jenkinsAKS/jobs/CAPersonSvc/workspace/build/sonar/findbugs-result.xml
11:15:55 The following classes needed for analysis were missing:
11:15:55 org.springframework.context.ApplicationContext
11:15:55 org.springframework.context.support.ClassPathXmlApplicationContext
11:15:55 javax.crypto.SecretKey
11:15:55 javax.crypto.spec.PBEKeySpec
11:15:55 javax.crypto.SecretKeyFactory
11:15:55 javax.crypto.spec.PBEParameterSpec
11:15:55 javax.crypto.Cipher
11:15:55 javax.crypto.KeyGenerator
11:15:55 javax.crypto.spec.IvParameterSpec
11:15:55 javax.crypto.spec.SecretKeySpec
11:15:55 11:15:55.245 INFO - Execute Findbugs 2.0.1 done: 10991 ms
11:15:55 11:15:55.247 INFO - Sensor FindbugsSensor done: 10994 ms
谢谢