Skip to content

Commit

Permalink
Set up Sonar Build with Azure Pipelines
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
michaelstaib committed Jun 20, 2020
1 parent 9ce5208 commit 0ae1acf
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .devops/azure-pipelines.sonar-hotchocolate.yml
Expand Up @@ -16,7 +16,11 @@

trigger:
branches:
- master
include:
- master
tags:
include:
- 11.*

stages:
- stage: ubuntu_latest
Expand All @@ -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
Expand All @@ -48,4 +52,4 @@ stages:
downloadPath: '$(Build.Repository.LocalPath)/output'
- task: CmdLine@2
inputs:
script: './build.cmd SonarPr --skip'
script: './build.cmd Sonar --skip'

0 comments on commit 0ae1acf

Please sign in to comment.