blob: 996a48f7bc6ea41962a351577a2a27a1efde675c (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# invalid artifact:reports:browser_performance
browser_performance no paths:
artifacts:
reports:
browser_performance:
## Lists (or globs) are not allowed!
browser_performance list of string paths:
artifacts:
reports:
browser_performance:
- foo
- ./bar/baz
browser_performance mixed list of string paths and globs:
artifacts:
reports:
browser_performance:
- ./foo
- "bar/*.baz"
browser_performance string array:
artifacts:
reports:
browser_performance: ["foo", "blah"]
# invalid artifact:reports:cyclonedx
cyclonedx no paths:
artifacts:
reports:
cyclonedx:
cyclonedx not a report:
artifacts:
cyclonedx: foo
cyclonedx not an array or string:
artifacts:
reports:
cyclonedx:
paths:
- foo
- bar
# invalid artifacts:reports:coverage_report
coverage-report-is-string:
artifacts:
reports:
coverage_report: cobertura
# invalid artifact:reports:performance
# Superceded by: artifact:reports:browser_performance
performance string path:
artifacts:
reports:
performance: foo
# invalid artifacts:when
artifacts-when-unknown:
artifacts:
when: unknown
artifacts-when-array:
artifacts:
when: [always]
artifacts-when-boolean:
artifacts:
when: true
|