blob: a50fe56f8d4999118fca92ec8e90edb9d87d4742 (
plain)
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
|
config:
test1:
script: exit 0
test2:
when: manual
script: exit 1
init:
expect:
pipeline: pending
stages:
test: pending
jobs:
test1: pending
test2: manual
transitions:
- event: success
jobs: [test1]
expect:
pipeline: success
stages:
test: success
jobs:
test1: success
test2: manual
- event: play
jobs: [test2]
expect:
pipeline: running
stages:
test: running
jobs:
test1: success
test2: pending
- event: drop
jobs: [test2]
expect:
pipeline: success
stages:
test: success
jobs:
test1: success
test2: failed
- event: retry
jobs: [test2]
expect:
pipeline: running
stages:
test: running
jobs:
test1: success
test2: pending
|