From 0ae1acff4ecc92f08a77475159378549a9008f9c Mon Sep 17 00:00:00 2001 From: Michael Staib Date: Sat, 20 Jun 2020 10:46:39 +0200 Subject: [PATCH] Set up Sonar Build with Azure Pipelines [skip ci] --- .devops/azure-pipelines.sonar-hotchocolate.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.devops/azure-pipelines.sonar-hotchocolate.yml b/.devops/azure-pipelines.sonar-hotchocolate.yml index e8c7055ac50..5b9f0002a63 100644 --- a/.devops/azure-pipelines.sonar-hotchocolate.yml +++ b/.devops/azure-pipelines.sonar-hotchocolate.yml @@ -16,7 +16,11 @@ trigger: branches: - - master + include: + - master + tags: + include: + - 11.* stages: - stage: ubuntu_latest @@ -38,8 +42,8 @@ stages: inputs: artifactName: test-results pathtoPublish: 'output/test-results' - - job: SonarPr - displayName: 'SonarPr' + - job: Sonar + displayName: 'Sonar' dependsOn: [ Cover ] steps: - task: DownloadBuildArtifacts@0 @@ -48,4 +52,4 @@ stages: downloadPath: '$(Build.Repository.LocalPath)/output' - task: CmdLine@2 inputs: - script: './build.cmd SonarPr --skip' + script: './build.cmd Sonar --skip'