gabrie-allaigre / sonar-gitlab-plugin

Add to each commit GitLab in a global commentary on the new anomalies added by this commit and add comment lines of modified files
GNU Lesser General Public License v3.0
713 stars 208 forks source link

sonar-scanner-4-3-jenkins-2-222-1-some-analyzes-do-not-end-correctly with sonar-gitlab-plugin 4.1.0SNAPSHOT #279

Open joxpg opened 4 years ago

joxpg commented 4 years ago

Hello,

Some analyzes do not end correctly, on the contrary they are loading in jenkins. Here are the last lines of the log where it stays:

14: 47: 58.445 DEBUG: getRevisionForLine notfound 14: 47: 58.445 DEBUG: Revision for issue com.talanlabs.sonar.plugins.gitlab.models.Issue@2618f6ee null false 14: 47: 58.445 DEBUG: file /devops/jenkins/workspace/scanner_sonarqube/sipren-jdeveloper/devops/PRVJava/src/alfa/general/InterfacePOINTNew.java 5020 14: 47: 58.446 DEBUG: getRevisionForLine PRVJava / src / alfa / general / InterfaceNEW.java Line {number = 5020, content = ‘throw new Exception (e.toString ());’}

Hours go by and it doesn’t finish correctly.

View response sonar:

https://community.sonarsource.com/t/sonar-scanner-4-3-jenkins-2-222-1-some-analyzes-do-not-end-correctly/23333