Hochbaustatistik/config/Jenkinsfile aktualisiert

Argument für Sonarqube-token angepasst, da immerzu FM "The token you provided doesn't have sufficient rights to check license"
This commit is contained in:
2026-06-15 07:48:57 +00:00
parent 2505c6ddcd
commit f98995332c

View File

@@ -23,7 +23,7 @@ pipeline
cleanWs() cleanWs()
checkout scm checkout scm
bat "dotnet restore Hochbaustatistik\\Hochbaustatistik.sln" 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" bat "\"${tool 'MSBuild17'}\" ${WORKSPACE}\\Hochbaustatistik\\Hochbaustatistik.sln /t:Restore /t:Rebuild /p:Configuration=Debug"
} }
} }
@@ -51,7 +51,7 @@ pipeline
} }
steps steps
{ {
bat "${scannerHome}\\SonarScanner.MSBuild.exe end /d:sonar.login=${token}" bat "${scannerHome}\\SonarScanner.MSBuild.exe end /d:sonar.token=${token}"
} }
} }
stage('Coverage') stage('Coverage')