JaCoCo SonarQube incompatible version 1007

后端 未结 8 1948
轮回少年
轮回少年 2020-12-08 12:50

I\'m using SonarQube for code quality control and suddenly builds that would otherwise pass can\'t be analyzed and fails.

[INFO] [00:00:03.630] Analy

8条回答
  •  萌比男神i
    2020-12-08 13:11

    As already mentioned, this is due to a break in JaCoCo maven plugin code. You can (temporarily) specify the version in your jenkins maven command like:

    clean org.jacoco:jacoco-maven-plugin::prepare-agent install
    

    e.g.

    clean org.jacoco:jacoco-maven-plugin:0.7.4.201502262128:prepare-agent install
    

    This was the workaround that helped us. But like most people, I'm still waiting for the fix to come.

提交回复
热议问题