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:
4
Hochbaustatistik/config/Jenkinsfile
vendored
4
Hochbaustatistik/config/Jenkinsfile
vendored
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user