aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2023-01-13 16:44:23 +0100
committersonartech <sonartech@sonarsource.com>2023-01-17 20:02:59 +0000
commit4a183772d0a5f88c5f9693ea4726695ef4f562d1 (patch)
tree76f0be248aca4568ab6f8d9e34d19e191eea0101 /sonar-scanner-engine/src
parent04f7a37abda3e7b3bd599b68c5e26c403ecfcfc9 (diff)
downloadsonarqube-4a183772d0a5f88c5f9693ea4726695ef4f562d1.tar.gz
sonarqube-4a183772d0a5f88c5f9693ea4726695ef4f562d1.zip
SONAR-17732 Remove all usage of redirect.sonarsource.com
Diffstat (limited to 'sonar-scanner-engine/src')
-rw-r--r--sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/SpringProjectScanContainer.java2
-rw-r--r--sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/branch/DeprecatedBranchMediumTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/SpringProjectScanContainer.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/SpringProjectScanContainer.java
index c5d38375188..0dc9d6adce5 100644
--- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/SpringProjectScanContainer.java
+++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/SpringProjectScanContainer.java
@@ -346,7 +346,7 @@ public class SpringProjectScanContainer extends SpringComponentContainer {
properties.get("sonar.branch").ifPresent(deprecatedBranch -> {
throw MessageException.of("The 'sonar.branch' parameter is no longer supported. You should stop using it. " +
- "Branch analysis is available in Developer Edition and above. See https://redirect.sonarsource.com/editions/developer.html for more information.");
+ "Branch analysis is available in Developer Edition and above. See https://www.sonarsource.com/plans-and-pricing/developer/ for more information.");
});
BranchConfiguration branchConfig = getComponentByType(BranchConfiguration.class);
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/branch/DeprecatedBranchMediumTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/branch/DeprecatedBranchMediumTest.java
index c5a23959ed2..8dff5b1055d 100644
--- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/branch/DeprecatedBranchMediumTest.java
+++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/branch/DeprecatedBranchMediumTest.java
@@ -83,6 +83,6 @@ public class DeprecatedBranchMediumTest {
.execute())
.isInstanceOf(MessageException.class)
.hasMessage("The 'sonar.branch' parameter is no longer supported. You should stop using it. " +
- "Branch analysis is available in Developer Edition and above. See https://redirect.sonarsource.com/editions/developer.html for more information.");
+ "Branch analysis is available in Developer Edition and above. See https://www.sonarsource.com/plans-and-pricing/developer/ for more information.");
}
}