diff --git a/.azure/azure-ci-build-pipeline.yaml b/.azure/azure-ci-build-pipeline.yaml index 12a454fa..04d35ab2 100644 --- a/.azure/azure-ci-build-pipeline.yaml +++ b/.azure/azure-ci-build-pipeline.yaml @@ -6,6 +6,18 @@ trigger: - bugfix/* - release/* +pr: + autoCancel: true # automatically cancel PR if new push made + drafts: true # get triggered when doing drafts + branches: + include: + - main + - dev + - feature/* + - hotfix/* + - bugfix/* + - release/* + parameters: # https://stackoverflow.com/a/70046417 - name: matrix @@ -94,6 +106,6 @@ stages: condition: succeededOrFailed() inputs: codeCoverageTool: Cobertura - summaryFileLocation: 'coverage.xml' - reportDirectory: 'coverage_report' + summaryFileLocation: './coverage.xml' + reportDirectory: './coverage_report' failIfCoverageEmpty: true