summaryrefslogtreecommitdiff
path: root/spec/frontend/editor/schema/ci/yaml_tests/positive_tests/artifacts.yml
blob: a5c9153ee13a130d3ac7833a54636e57d423c442 (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
# valid artifact:reports:cyclonedx

cyclonedx string path:
  artifacts:
    reports:
      cyclonedx: foo

cyclonedx glob path:
  artifacts:
    reports:
      cyclonedx: "*.foo"

cylonedx list of string paths:
  artifacts:
    reports:
      cyclonedx:
        - foo
        - ./bar/baz

cylonedx mixed list of string paths and globs:
  artifacts:
    reports:
      cyclonedx:
        - ./foo
        - "bar/*.baz"

# valid artifacts:when
artifacts-when-on-failure:
  artifacts:
    when: on_failure

artifacts-no-when:
  artifacts:
    paths:
      - binaries/