]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-23139 Java is not needed anymore to use the Scanner for .Net
authorJulien HENRY <julien.henry@sonarsource.com>
Tue, 24 Sep 2024 13:34:34 +0000 (15:34 +0200)
committersonartech <sonartech@sonarsource.com>
Thu, 26 Sep 2024 20:03:15 +0000 (20:03 +0000)
server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/__tests__/__snapshots__/BitbucketPipelinesTutorial-it.tsx.snap
server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/commands/DotNet.ts
server/sonar-web/src/main/js/components/tutorials/gitlabci/__tests__/__snapshots__/GitLabCITutorial-it.tsx.snap
server/sonar-web/src/main/js/components/tutorials/gitlabci/commands/PipeCommand.tsx

index 47fabb0cee7872a368a464fc8a3ceb3543a2f3c3..dc050071e34db869c45c6e01838e8b8ed3183eed 100644 (file)
@@ -44,8 +44,6 @@ definitions:
           - dotnetcore
           - sonar
         script:
-          - apt-get update
-          - apt-get install --yes --no-install-recommends openjdk-17-jre
           - dotnet tool install --global dotnet-sonarscanner
           - export PATH="$PATH:/root/.dotnet/tools"
           - dotnet sonarscanner begin /k:"my-project" /d:"sonar.token=\${SONAR_TOKEN}"  /d:"sonar.host.url=\${SONAR_HOST_URL}"
index df12f554254a1092f557eb1ae0090cda6eb17a56..b8d8907b105b0e8618e64fd0a0d6c05f6a56aca7 100644 (file)
@@ -34,8 +34,6 @@ definitions:
           - dotnetcore
           - sonar
         script:
-          - apt-get update
-          - apt-get install --yes --no-install-recommends openjdk-17-jre
           - dotnet tool install --global dotnet-sonarscanner
           - export PATH="$PATH:/root/.dotnet/tools"
           - dotnet sonarscanner begin /k:"${projectKey}" /d:"sonar.token=\${SONAR_TOKEN}"  /d:"sonar.host.url=\${SONAR_HOST_URL}"
index 0dcb01b15f398749b2d41e49204ecb3cd1cd7e9e..dc88e9ef38ac659925de6f5021725205327096b6 100644 (file)
@@ -15,8 +15,6 @@ sonarqube-check:
   stage: sonarqube-check
   
   script: 
-      - "apt-get update"
-      - "apt-get install --yes --no-install-recommends openjdk-17-jre"
       - "dotnet tool install --global dotnet-sonarscanner"
       - "export PATH=\\"$PATH:$HOME/.dotnet/tools\\""
       - "dotnet sonarscanner begin /k:\\"my-project\\" /d:sonar.token=\\"$SONAR_TOKEN\\" /d:\\"sonar.host.url=$SONAR_HOST_URL\\" "
index 2276988966c65349eb8cb09cabc99dc1cb2a1a98..9327727c87f826e3b3a43af2b995674051017d53 100644 (file)
@@ -57,8 +57,6 @@ const BUILD_TOOL_SPECIFIC: {
   [BuildTools.DotNet]: {
     image: 'mcr.microsoft.com/dotnet/sdk:7.0',
     script: (projectKey: string) => `
-      - "apt-get update"
-      - "apt-get install --yes --no-install-recommends openjdk-17-jre"
       - "dotnet tool install --global dotnet-sonarscanner"
       - "export PATH=\\"$PATH:$HOME/.dotnet/tools\\""
       - "dotnet sonarscanner begin /k:\\"${projectKey}\\" /d:sonar.token=\\"$SONAR_TOKEN\\" /d:\\"sonar.host.url=$SONAR_HOST_URL\\" "