-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathtrigger.yml
98 lines (71 loc) · 1.53 KB
/
trigger.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
steps:
# Different nesting formats
- trigger: "a-slug"
- type: "trigger"
trigger: "a-slug"
# All the options
- trigger: "a-slug"
async: true
- trigger: "a-slug"
branches: "a-branch"
- trigger: "a-slug"
build:
message: "A message"
- trigger: "a-slug"
build:
commit: "A commit"
- trigger: "a-slug"
build:
branch: "A branch"
- trigger: "a-slug"
build:
meta_data:
a-key: "a-val"
- trigger: "a-slug"
build:
env:
SOME_ENV: "some val"
- trigger: "a-slug"
id: "an-id"
- trigger: "a-slug"
identifier: "an-id"
- trigger: "a-slug"
label: "Triggered label"
- trigger: "a-slug"
if: build.message !~ /skip tests/
- trigger: "a-slug"
key: important-step
- trigger: "a-slug"
depends_on: depend-on-me
- trigger: "a-slug"
depends_on:
- depend-on-me-1
- depend-on-me-2
- trigger: "a-slug"
depends_on:
- step: depend-on-me-1
- step: depend-on-me-2
- trigger: "a-slug"
depends_on:
- depend-on-me-1
- step: depend-on-me-2
- trigger: "a-slug"
depends_on:
- step: depend-on-me
allow_failure: true
- trigger: "a-slug"
allow_dependency_failure: true
- trigger: "a-slug"
skip: true
- trigger: "a-slug"
skip: "reason for skipping"
- trigger: "a-slug"
soft_fail: true
- trigger: "a-slug"
soft_fail: false
- trigger: "a-slug"
soft_fail:
- exit_status: 1
- trigger: "a-slug"
soft_fail:
- exit_status: "*"