sonar-gerrit

Sonar Gerrit plugin not reporting results

和自甴很熟 提交于 2019-12-19 12:05:53
问题 We utilize the pipeline and after the build completes successfully we are running the following: bat "mvn sonar:sonar -B -s ${buildSettings} -Dsonar.analysis.mode=preview -Dsonar.skipDesign=true -Dsonar.report.export.path=sonar-report.json" sonarToGerrit(severity: 'Major', postScore: true, category: 'Code-Review', newIssuesOnly: true, issuesScore: '0', noIssuesScore: '0', changedLinesOnly: true) The below build log shows that it found a good number of issues but yet the issues to be commented

Sonar Gerrit plugin not reporting results

ⅰ亾dé卋堺 提交于 2019-12-19 12:05:29
问题 We utilize the pipeline and after the build completes successfully we are running the following: bat "mvn sonar:sonar -B -s ${buildSettings} -Dsonar.analysis.mode=preview -Dsonar.skipDesign=true -Dsonar.report.export.path=sonar-report.json" sonarToGerrit(severity: 'Major', postScore: true, category: 'Code-Review', newIssuesOnly: true, issuesScore: '0', noIssuesScore: '0', changedLinesOnly: true) The below build log shows that it found a good number of issues but yet the issues to be commented

Sonar-Gerrit Plugin Not reporting Issues in Gerrit

被刻印的时光 ゝ 提交于 2019-12-11 15:38:57
问题 I am also facing the same issue with Sonar-Gerrit jenkins plugin. Downloaded it from Jenkins plugins site.Using Sonar-Gerrit plugin 2.2.1, and analysing sonar scan against jenkins workspace. For a sample,have changed just one file and provided the project base directory to the path of that file, and ran the sonar analysis in issues mode. Issues are not loaded in Gerrit and jenkins logs say Report has loaded and contains 759 issues Issues to be commented: 0 Issues to be involved in score

Sonar Gerrit plugin not reporting results

☆樱花仙子☆ 提交于 2019-12-01 14:01:33
We utilize the pipeline and after the build completes successfully we are running the following: bat "mvn sonar:sonar -B -s ${buildSettings} -Dsonar.analysis.mode=preview -Dsonar.skipDesign=true -Dsonar.report.export.path=sonar-report.json" sonarToGerrit(severity: 'Major', postScore: true, category: 'Code-Review', newIssuesOnly: true, issuesScore: '0', noIssuesScore: '0', changedLinesOnly: true) The below build log shows that it found a good number of issues but yet the issues to be commented is 0. Build log Other posts suggest that it may not be finding the report but I don't believe it's the