Skip to content

Commit

Permalink
Update the orchestrator to support the new scanner packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
costin-zaharia-sonarsource committed Dec 11, 2023
1 parent 85969f5 commit 49e580f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions its/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
<dependency>
<groupId>org.sonarsource.orchestrator</groupId>
<artifactId>sonar-orchestrator-junit5</artifactId>
<version>4.4.0.1640</version>
<version>4.6.0.1748</version>
</dependency>
<dependency>
<groupId>org.sonarsource.scanner.msbuild</groupId>
<artifactId>sonar-scanner-msbuild</artifactId>
<artifactId>sonar-scanner</artifactId>
<version>${scannerMsbuild.version}</version>
<type>zip</type>
<classifier>net46</classifier>
<classifier>net-framework</classifier>
</dependency>
<dependency>
<groupId>org.sonarsource.sonarqube</groupId>
Expand Down
2 changes: 1 addition & 1 deletion its/src/test/java/com/sonar/it/shared/TestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ private static String getProjectBaseDir(Path projectDir, String subProjectName)
private static Build<ScannerForMSBuild> newScanner(Path projectDir) {
// We need to set the fallback version to run from inside the IDE when the property isn't set
return ScannerForMSBuild.create(projectDir.toFile())
.setScannerVersion(System.getProperty("scannerMsbuild.version", "6.0.0.81631"))
.setScannerVersion(System.getProperty("scannerMsbuild.version", "LATEST_RELEASE"))

// In order to be able to run tests on Azure pipelines, the AGENT_BUILDDIRECTORY environment variable
// needs to be set to the analyzed project directory.
Expand Down

0 comments on commit 49e580f

Please sign in to comment.