SonarQube upgrade from 6.4 to 6.5 breaks the scanner

后端 未结 4 1424
青春惊慌失措
青春惊慌失措 2021-02-14 03:58
  1. I am on sonarQube6.4 and have upgraded to 6.5
  2. Sonar-scanner is 3.0.3
  3. Now after the upgrade the scanner fails anytime there is a java file in the source p
4条回答
  •  甜味超标
    2021-02-14 04:53

    I had this issue as well and I fixed it in the following way:

    This page mentions about an entry which was optional before and became mandatory during the latest update (4.12). It says that the sonar.java.binaries entry in the Jenkins project settings should be set. When set, even to a faulty folder, it will fix your errors, leaving only a warning and your pipeline will be running again.

    The setting should be added to Jenkins -> "your project" -> Configuration -> Build -> Execute SonarQube Scanner -> Analysis Properties. Add this entry and point it to your binaries folder.

提交回复
热议问题