Try to get PR check running
This commit is contained in:
1 parent
639c29a619
commit
36a836d95b
1 file changed
+14
-2
+14
-2
@@ -53,11 +53,23 @@ before_build:
|
||||
{
|
||||
if ($Env:APPVEYOR_PULL_REQUEST_NUMBER){
|
||||
choco install "msbuild-sonarqube-runner" -y
|
||||
SonarScanner.MSBuild.exe begin /k:"lukeIam_Vocaluxe" /d:sonar.organization="lukeiam-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="$Env:SonarQubeToken" /d:"sonar.pullrequest.provider=GitHub" /d:"sonar.pullrequest.key=$env:APPVEYOR_PULL_REQUEST_NUMBER" /d:"sonar.pullrequest.github.repository=lukeIam/Vocaluxe" /d:"sonar.pullrequest.base=$env:APPVEYOR_REPO_BRANCH" /d:"sonar.pullrequest.branch=$env:APPVEYOR_PULL_REQUEST_HEAD_REPO_NAME/$env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH"
|
||||
SonarScanner.MSBuild.exe begin `
|
||||
/k:"lukeIam_Vocaluxe" `
|
||||
/d:sonar.organization="lukeiam-github" `
|
||||
/d:sonar.host.url="https://sonarcloud.io" `
|
||||
/d:sonar.login="$Env:SonarQubeToken" `
|
||||
/d:"sonar.pullrequest.key=$env:APPVEYOR_PULL_REQUEST_NUMBER" `
|
||||
/d:"sonar.pullrequest.base=$env:APPVEYOR_REPO_BRANCH" `
|
||||
/d:"sonar.pullrequest.branch=$env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH"
|
||||
}
|
||||
elseif($Env:APPVEYOR_REPO_BRANCH -eq 'develop'){
|
||||
choco install "msbuild-sonarqube-runner" -y
|
||||
SonarScanner.MSBuild.exe begin /k:"lukeIam_Vocaluxe" /d:sonar.organization="lukeiam-github" /d:sonar.host.url="https://sonarcloud.io" /v:"$Env:GIT_VERSION_TAG" /d:sonar.login="$Env:SonarQubeToken"
|
||||
SonarScanner.MSBuild.exe begin `
|
||||
/k:"lukeIam_Vocaluxe" `
|
||||
/d:sonar.organization="lukeiam-github" `
|
||||
/d:sonar.host.url="https://sonarcloud.io" `
|
||||
/v:"$Env:GIT_VERSION_TAG" `
|
||||
/d:sonar.login="$Env:SonarQubeToken"
|
||||
}
|
||||
}
|
||||
build:
|
||||
|
||||
Reference in new issue
Block a user