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')