aboutsummaryrefslogtreecommitdiffstats
path: root/it/src/test/java/com/sonarsource/scanner
diff options
context:
space:
mode:
authorJacek <52388493+jacek-poreda-sonarsource@users.noreply.github.com>2019-10-03 13:18:33 +0200
committerGitHub <noreply@github.com>2019-10-03 13:18:33 +0200
commit06fc83ff807ea64527a7584a459f2907fb3b02c6 (patch)
treeea778efe7c13e46896d27d22dedfb2a207039f86 /it/src/test/java/com/sonarsource/scanner
parent4d1fe77925b197c6e14bc697551ff0d06ab96323 (diff)
downloadsonar-scanner-cli-06fc83ff807ea64527a7584a459f2907fb3b02c6.tar.gz
sonar-scanner-cli-06fc83ff807ea64527a7584a459f2907fb3b02c6.zip
Fix compatibility issue with JS plugin (#76)
Diffstat (limited to 'it/src/test/java/com/sonarsource/scanner')
-rw-r--r--it/src/test/java/com/sonarsource/scanner/it/SonarScannerTestSuite.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/it/src/test/java/com/sonarsource/scanner/it/SonarScannerTestSuite.java b/it/src/test/java/com/sonarsource/scanner/it/SonarScannerTestSuite.java
index 6e90303..4dd635f 100644
--- a/it/src/test/java/com/sonarsource/scanner/it/SonarScannerTestSuite.java
+++ b/it/src/test/java/com/sonarsource/scanner/it/SonarScannerTestSuite.java
@@ -33,7 +33,11 @@ public class SonarScannerTestSuite {
@ClassRule
public static final Orchestrator ORCHESTRATOR = Orchestrator.builderEnv()
.setSonarVersion(System.getProperty("sonar.runtimeVersion", "LATEST_RELEASE[6.7]"))
- .addPlugin(MavenLocation.of("org.sonarsource.javascript", "sonar-javascript-plugin", "LATEST_RELEASE"))
+ // The scanner cli should still be compatible with previous LTS 6.7, and not the 7.9
+ // at the time of writing, so the installed plugins should be compatible with
+ // both 6.7 and 8.x. The latest releases of analysers drop the compatibility with
+ // 6.7, that's why versions are hardcoded here.
+ .addPlugin(MavenLocation.of("org.sonarsource.javascript", "sonar-javascript-plugin", "5.2.1.7778"))
.build();
}