-
Notifications
You must be signed in to change notification settings - Fork 0
/
duck-duck-goose.yml
54 lines (51 loc) · 1.06 KB
/
duck-duck-goose.yml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Test pipeline for errors and warnings
name: $(Rev:r)
stages:
- stage: uno
jobs:
- job: un
pool: default
steps:
- script: |
echo ##vso[task.logissue type=warning;]duck...
displayName: 'duck'
- job: un_delay
pool: server
steps:
- task: Delay@1
displayName: 'wait a moment'
inputs:
delayForMinutes: 1
- stage: dos
dependsOn: uno
jobs:
- job: deux
pool: default
steps:
- script: |
echo ##vso[task.logissue type=warning;]duck...
displayName: 'duck'
- job: deux_delay
pool: server
steps:
- task: Delay@1
displayName: 'wait a moment'
inputs:
delayForMinutes: 1
- stage: tres
dependsOn: dos
jobs:
- job: trois
pool: default
steps:
- script: |
echo ##vso[task.logissue type=error;]goose!
exit 1
displayName: 'goose'
- job: trois_delay
pool: server
steps:
- task: Delay@1
displayName: 'wait a moment'
inputs:
delayForMinutes: 1