Skip to content

Commit b2bd335

Browse files
authored
SCANCLI-176 Add support for the SonarQube Cloud US region (#219)
1 parent f06bd07 commit b2bd335

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

it/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<!-- following properties must be set in command-line : sonar.runtimeVersion and sonarRunner.version -->
2828

2929
<maven.compiler.release>17</maven.compiler.release>
30-
<orchestrator.version>5.1.0.2274</orchestrator.version>
30+
<orchestrator.version>5.3.0.2465</orchestrator.version>
3131
</properties>
3232

3333
<dependencies>

it/src/test/java/com/sonarsource/scanner/it/ScannerTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public void should_use_environment_prop() {
190190

191191
assertThat(buildResult.isSuccess()).isFalse();
192192
assertThat(buildResult.getLogs())
193-
.contains("Failed to query server version: HTTP 404 Not Found");
193+
.contains("Failed to query server version: GET http://www.google.com/404/api/server/version failed with HTTP 404 Not Found");
194194
}
195195

196196
@Test
@@ -207,7 +207,7 @@ public void should_skip_analysis() {
207207
@Test
208208
public void should_fail_if_unable_to_connect() {
209209
SonarScanner build = newScannerWithToken(new File("projects/simple-sample"), analysisToken)
210-
//env property should be overridden
210+
//env property should be overridden by command line property
211211
.setEnvironmentVariable("SONAR_HOST_URL", "http://www.google.com")
212212
.setProperty("sonar.host.url", "http://www.google.com/404");
213213

@@ -216,7 +216,7 @@ public void should_fail_if_unable_to_connect() {
216216
assertThat(result.isSuccess()).isFalse();
217217
// with the following message
218218
assertThat(result.getLogs())
219-
.contains("Failed to query server version: HTTP 404 Not Found");
219+
.contains("Failed to query server version: GET http://www.google.com/404/api/server/version failed with HTTP 404 Not Found");
220220
}
221221

222222
// SONARPLUGINS-3574

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
<dependency>
8282
<groupId>org.sonarsource.scanner.lib</groupId>
8383
<artifactId>sonar-scanner-java-library</artifactId>
84-
<version>3.2.2.411</version>
84+
<version>3.3.1.450</version>
8585
</dependency>
8686
<dependency>
8787
<groupId>org.slf4j</groupId>

0 commit comments

Comments
 (0)