forked from junit-team/junit5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-devops-pipeline.yaml
27 lines (27 loc) · 1.01 KB
/
azure-devops-pipeline.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
stages:
- stage: Report
jobs:
- job: SigridCI
pool:
vmImage: ubuntu-latest
container: softwareimprovementgroup/sigridci:azure
continueOnError: true
condition: "ne(variables['Build.SourceBranch'], 'refs/heads/main')"
steps:
- bash: "/sigridci/sigridci.py --customer opensource --system junit --source . --targetquality 3.5"
env:
SIGRID_CI_TOKEN: $(SIGRID_CI_TOKEN)
continueOnError: true
- publish: sigrid-ci-output
artifact: sigrid-ci-output
- job: SigridPublish
pool:
vmImage: ubuntu-latest
container: softwareimprovementgroup/sigridci:azure
continueOnError: true
condition: "eq(variables['Build.SourceBranch'], 'refs/heads/main')"
steps:
- bash: "/sigridci/sigridci.py --customer opensource --system junit --source . --publishonly"
env:
SIGRID_CI_TOKEN: $(SIGRID_CI_TOKEN)
continueOnError: true