SonarQube analysis java and net together

254 views Asked by At

I have a problem. I need to analyze these two languages along with sonarQube 5.6, any idea how of to do it?

I have install maven and MSBuild SonarRunner but I never made them run together

1

There are 1 answers

0
Shiva On

I don't understand how you managed to combine to opposing tech stack in a project.

  1. I guess you are talking about 2 projects analysis in same sonar instance. In this case use sonar.language=java to enforce analysis of one language.

  2. If you are talking about 1 project using two stack that can work together, don't specify sonar.language Sonar analyser will deduct language to analyse based on plugins you have installed.

  3. If 1 project but analysis are to be done seperately override the key and name of project to distinguish them. You can override by passing command line arguments

    -Dsonar.projectKey=ASDF-Java