From f98995332c5a55a353760e6c3cbd8ddad7455098 Mon Sep 17 00:00:00 2001 From: mkoebis Date: Mon, 15 Jun 2026 07:48:57 +0000 Subject: [PATCH] Hochbaustatistik/config/Jenkinsfile aktualisiert MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Argument für Sonarqube-token angepasst, da immerzu FM "The token you provided doesn't have sufficient rights to check license" --- Hochbaustatistik/config/Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Hochbaustatistik/config/Jenkinsfile b/Hochbaustatistik/config/Jenkinsfile index 9212721..3482f70 100644 --- a/Hochbaustatistik/config/Jenkinsfile +++ b/Hochbaustatistik/config/Jenkinsfile @@ -23,7 +23,7 @@ pipeline cleanWs() checkout scm bat "dotnet restore Hochbaustatistik\\Hochbaustatistik.sln" - bat "${scannerHome}\\SonarScanner.MSBuild.exe begin /k:${project} /d:sonar.login=${token} /d:sonar.verbose=true /d:sonar.cs.opencover.reportsPaths=${WORKSPACE}\\coverage.xml" + bat "${scannerHome}\\SonarScanner.MSBuild.exe begin /k:${project} /d:sonar.token=${token} /d:sonar.verbose=true /d:sonar.cs.opencover.reportsPaths=${WORKSPACE}\\coverage.xml" bat "\"${tool 'MSBuild17'}\" ${WORKSPACE}\\Hochbaustatistik\\Hochbaustatistik.sln /t:Restore /t:Rebuild /p:Configuration=Debug" } } @@ -51,7 +51,7 @@ pipeline } steps { - bat "${scannerHome}\\SonarScanner.MSBuild.exe end /d:sonar.login=${token}" + bat "${scannerHome}\\SonarScanner.MSBuild.exe end /d:sonar.token=${token}" } } stage('Coverage')