0

I configured sonarQube analyze for my Angular 2 project as this example sonar-web-frontend-helloworld

And I added sonar plugin to Jenkins and run gulp task as Jenkins command. It was perfectly worked and now I can view my project in sonar dashboard.

But problem is it uses rules from project not from the sonar server. I have added web-front-end plugin in sonar server. I want to use those set of rules while running code analyzer for my project. And also, using current methods to disable some rules I have to disable them from rules file in the project. How can I improve that sonar job for disable rules using sonar dashboard with log in as an admin.

G. Ann - SonarSource Team
  • 22,346
  • 4
  • 40
  • 76
ekanayaka.msl
  • 53
  • 1
  • 1
  • 7

1 Answers1

0

SonarQube analysis will always use the rules from the relevant Quality Profile on the server. If you need to adjust the set of rules applied, then you must edit the profile, most likely the default profile.

G. Ann - SonarSource Team
  • 22,346
  • 4
  • 40
  • 76
  • Did you check that example. hear used some set of rules files like .eslintrc, .htmlhintrc ..etc. I think they are control the rules we used. And my sonar job was success fully built. – ekanayaka.msl Oct 28 '16 at 10:12