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
712 stars 207 forks source link

Sonar analysis times out #247

Open thomasjoseph99 opened 5 years ago

thomasjoseph99 commented 5 years ago

Sonar analysis is timing out while scanning NPM projects. The sonar-scanner was invoked both directly and also through npm run. Please see below.

In both cases, the sonar analysis was stuck at "Execute Project Builders" and eventually timed out INFO: Execute project builders

Version used SonarQube: 6.7 Plugin: 3.0.2

Can you please take a look at the issue. Should the SonarGitLab specific parameters passed be different in case of NPM?

akumar760613 commented 5 years ago

The sonarscan in gitlab using "Sonar-Gitlab-Plugin" is being timeout and struck for hours, running maven project for code analysis.

image

Can you please look into this?

oi-ss commented 5 years ago

May sound weird, but force set the sonar.gitlab.url property to the appropriate value in either the Administration UI or the command, and it will work.