Skip to content

Commit

Permalink
SONARPY-2454 Disable telemetry in the ITs (#2234)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghislainpiot authored Dec 12, 2024
1 parent e53baba commit e82e997
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ public final class TestsUtils {
.useDefaultAdminCredentialsForBuilds(true)
.setSonarVersion(System.getProperty(SQ_VERSION_PROPERTY, DEFAULT_SQ_VERSION))
.addPlugin(PLUGIN_LOCATION)
.setServerProperty("sonar.telemetry.enable", "false") // Disable telemetry waiting for ORCH-497

// Custom rules plugin
.addPlugin(FileLocation.byWildcardMavenFilename(new File("../python-custom-rules-plugin/target"), "python-custom-rules-plugin-*.jar"))
.addPlugin(FileLocation.byWildcardMavenFilename(new File("../../../docs/python-custom-rules-example/target"), "python-custom-rules-example-*.jar"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ static OrchestratorExtension getOrchestrator(Edition sonarEdition) {
.setSonarVersion(System.getProperty(SQ_VERSION_PROPERTY, DEFAULT_SQ_VERSION))
.setEdition(sonarEdition)
.addPlugin(FileLocation.byWildcardMavenFilename(new File("../../sonar-python-plugin/target"), "sonar-python-plugin-*.jar"))
.addPlugin(MavenLocation.of("org.sonarsource.sonar-lits-plugin", "sonar-lits-plugin", "0.11.0.2659"));
.addPlugin(MavenLocation.of("org.sonarsource.sonar-lits-plugin", "sonar-lits-plugin", "0.11.0.2659"))
.setServerProperty("sonar.telemetry.enable", "false"); // Disable telemetry waiting for ORCH-497

if (sonarEdition != Edition.COMMUNITY) {
builder.activateLicense();
Expand Down

0 comments on commit e82e997

Please sign in to comment.