Skip to content

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

Merged
merged 4 commits into from
Sep 20, 2024

Conversation

gregory-paidis-sonarsource
Copy link
Contributor

@gregory-paidis-sonarsource gregory-paidis-sonarsource commented Sep 20, 2024

@gregory-paidis-sonarsource gregory-paidis-sonarsource force-pushed the greg/ignore-sources-and-tests branch 6 times, most recently from c0a925b to 742fc5d Compare September 20, 2024 08:27
.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.
Copy link
Contributor Author

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 :)

@gregory-paidis-sonarsource gregory-paidis-sonarsource force-pushed the greg/ignore-sources-and-tests branch 5 times, most recently from 93974b8 to d71198f Compare September 20, 2024 10:09
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🎉

Copy link

@gregory-paidis-sonarsource gregory-paidis-sonarsource merged commit 835d110 into master Sep 20, 2024
15 checks passed
@gregory-paidis-sonarsource gregory-paidis-sonarsource deleted the greg/ignore-sources-and-tests branch September 20, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants