I have one scenario and not able to achieve it.
Please help it.
1- I have a folder called Codebase and have multiple separate- separate projects with different - different language inside like project1 and project2
2- Below is my configure for sonar.scanner.properties
#----- Default SonarQube server
sonar.host.url=http://10.91.20.69:9000
sonar.modules=project1,project2
project1.sonar.projectBaseDir=/opt/Codebase
sonar.projectKey=project1
project1.sonar.sources=project1
project1.sonar.host.url=http://10.91.20.69:9000
project1.sonar.scm.provider=git
project2.sonar.projectBaseDir=/opt/Codebase
sonar.projectKey=project2
project2.sonar.sources=project2
project2.sonar.java.binaries=/opt/Codebase/project2/OMMS/src/OMMS/src/main/java
project2.sonar.host.url=http://10.91.20.69:9000
project2.sonar.scm.provider=git
###When I run sonar-scanner, it runs successfully but its crate only porject2 report, not project1. But if run one by one it works fine. Please help me with this. Please suggest to me how to run multiple projects in single sonar-scanner-properties. Thanks.