Questions tagged [sonar-gerrit]

Sonar-Gerrit Jenkins plugin

Plugin page

24 questions
0
votes
1 answer

how to checkout git branches jenkins gui edits of last 5 days from master repo

Team, I am trying to search for a string that was checked by a user by manually editing jenkins gui configuration . whenever we save this gui configuration, there is a direct commit to master on gerrit. Now, I want to search all the last 3 days of…
AhmFM
  • 1,552
  • 3
  • 23
  • 53
0
votes
2 answers

Post Sonarqube report in gerrit

after performing Sonarqube analysis I get sonar-report.json. To post this in gerrit comment I use Sonar Gerrit Plugin. In jenkins logs there is an information: -Report has loaded and contains 15 issues -Issues to be commented: 0 My question is why…
user5634387
0
votes
2 answers

Setting up Sonar-Gerrit plugin : Failed to execute command 'gerrit review ' on UserAtHost

I'm trying to set up the Sonar-Gerrit plugin on a Jenkin job. Set up Jenkins Maven job is launched when a patch set to Gerrit I see the error in the Jenkins output. Here is the Jenkins console error output : [ERROR] Failed to execute goal…
haopan
  • 11
  • 4
0
votes
2 answers

Sonar-Gerrit Plugin Not reporting Issues in Gerrit

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…
0
votes
2 answers

Sonar Gerrit plugin not posting comments when changedLinesOnly == true

I'm using Sonar Gerrit plugin for Jenkins and it works fine in its default mode (changedLinesOnly == false, isNew == false). However, when I'm enabling changedLinesOnly == true, all issues vanish, even those that were added in the Gerrit patch (e.g.…
0
votes
2 answers

Sonar Gerrit plugin not reporting results

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…
0
votes
1 answer

Gerrit to Sonar Plugin ignores noIssuesScore

In our build (Jenkins Pipeline Script), the Sonar Gerrit Plugin should just add a review when there are issues. Otherwise it should just add the comment, but skip the score: sonarToGerrit( sonarURL: env.'SONAR_HOST_URL', severity: 'INFO', …
Max N.
  • 993
  • 1
  • 12
  • 31
0
votes
0 answers

gerrit jenkins integration issue by using sonar gerrit plugin

Gerrit-Trigger plugin is able to post comment on Gerrit dashboard , but sonar-gerrit plugin is not posting comments and getting error depicted below: Gerrit-Trigger plugin:2.23 Gerrit:2.7 Sonar-Gerrit plugin:2.0 sonarQube: 5.6 Jenkins:2.32 Jenkins…
0
votes
2 answers

Http connection unauthorized in gerrit trigger

I am trying to setup Rest API for gerrit trigger jenkins plugin. I have created a service user in git. But now when i am entering the http username/password for service user and pressing test connection . I am getting Http connection unauthorized…
saurav
  • 5,388
  • 10
  • 56
  • 101
1
2