Specify SonarQube Profile

899 views
Skip to first unread message

pjwal...@gmail.com

unread,
Apr 28, 2016, 4:39:01 PM4/28/16
to SonarLint
Installed the SonarLint plugin and connected it to our SonarQube server.  However I'm having trouble specifying the rules.  Our server runs custom Java and JavaScript profiles.  Is their a way to specify these?  

I've tried:
- right click project -> preferences -> SonarLint -> Analyzer properties -> set variable 'sonar.profile' as well as 'profile' to 'myTestProfile'
- setting my default server profile to myTestProfile.

Nether seems to help. :(

Duarte Meneses

unread,
Apr 29, 2016, 2:44:34 AM4/29/16
to pjwal...@gmail.com, SonarLint
I'm assuming that you are using SonarLint Eclipse.
You need to bind the Eclipse project to a remote SonarQube project. The quality profile assigned to the SonarQube project will be used. This is the way you choose the rule set that will be used.
You can find more information here: http://www.sonarlint.org/eclipse/index.html#Connected


--
You received this message because you are subscribed to the Google Groups "SonarLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarlint+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarlint/fcd13e02-8189-4ed4-aa65-a60452e1c258%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Duarte MENESES | SonarSource
Reply all
Reply to author
Forward
0 new messages