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

Gitlab Commit Issue Publisher is not completing #290

Open RamazanBIYIK opened 3 years ago

RamazanBIYIK commented 3 years ago

I am running sonar-scanner for a repo from gitlab on jenkins. Sonar-scanner upload reports to sonarqube successfully.

The roadmap on jenkins is that: clone repo from gitlab. Start sonar-scanner inside docker container. Sonar-scanner upload reports to sonarqube and open discussion on gitlab commit.

The report file dir size is 13 MB zip size 6MB. I am using proxy for sonarqube. That means my proxy is set correctly(On kubernetes with annotation that is nginx.ingress.kubernetes.io/proxy-body-size).

My problem is that gitlab issue publisher not finishing for analysis. I tried on a directory that produces 100kb report file size that is successfully open disscussion on gitlab. I think my issue is related with the report size. But couldn't find any solution.

Do you have any?

enter image description here

I am running sonar-scanner for a repo from gitlab on jenkins. Sonar-scanner upload reports to sonarqube successfully.

The roadmap on jenkins is that: clone repo from gitlab. Start sonar-scanner inside docker container. Sonar-scanner upload reports to sonarqube and open discussion on gitlab commit.

The report file dir size is 13 MB zip size 6MB. I am using proxy for sonarqube. That means my proxy is set correctly(On kubernetes with annotation that is nginx.ingress.kubernetes.io/proxy-body-size).

My problem is that gitlab issue publisher not finishing for analysis. I tried on a directory that produces 100kb report file size that is successfully open disscussion on gitlab. I think my issue is related with the report size. But couldn't find any solution.

Do you have any?

Additional infoes:

Sonarqube version: 7.9.3 (build 33349) CE

Sonar-Scanner: sonarsource/sonar-scanner-cli: latest(Digest:sha256:135815)

Gitlab Version: GitLab Community Edition 11.9.1

Sonar-gitlab-plugin: https://github.com/gabrie-allaigre/sonar-gitlab-plugin (sonar-gitlab-plugin-4.1.0-SNAPSHOT)

Screen Shot 2020-10-15 at 03 00 56

https://stackoverflow.com/questions/64363173/sonarqube-gitlab-report-publisher-not-finishing