-
Notifications
You must be signed in to change notification settings - Fork 143
SCAN4NET-44 Multi Language Suport: Ignore analysis scope properties #2207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SCAN4NET-44 Multi Language Suport: Ignore analysis scope properties #2207
Conversation
This reverts commit a96c095.
c0a925b
to
742fc5d
Compare
.setProjectKey(projectName) | ||
.setProjectName(projectName) | ||
.setProperty("sonar.sources", "Program.cs") // user-defined sources and tests are not passed to the cli. | ||
.setProperty("sonar.tests", "Program.cs")); // If they were passed, it results to double-indexing error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this locally by deleting the AnalysisScopeProcessor
and it failed with double indexing :)
93974b8
to
d71198f
Compare
d71198f
to
e26e1ca
Compare
its/src/test/java/com/sonar/it/scanner/msbuild/sonarqube/ScannerMSBuildTest.java
Outdated
Show resolved
Hide resolved
...arScanner.MSBuild.PreProcessor/AnalysisConfigProcessing/Processors/AnalysisScopeProcessor.cs
Show resolved
Hide resolved
...arScanner.MSBuild.PreProcessor/AnalysisConfigProcessing/Processors/AnalysisScopeProcessor.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🎉
|
SCAN4NET-44