Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dag_test_on_failure_no_needs.yml « test_cases « pipeline_processing « ci « services « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 12c51828628d1bc07d7e20442db9d0ea3496bf64 (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
config:
  test1:
    stage: test
    script: exit 0
    needs: []

  test2:
    stage: test
    when: on_failure
    script: exit 0
    needs: []

init:
  expect:
    pipeline: pending
    stages:
      test: pending
    jobs:
      test1: pending
      test2: skipped

transitions:
  - event: success
    jobs: [test1]
    expect:
      pipeline: success
      stages:
        test: success
      jobs:
        test1: success
        test2: skipped