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

cache.yml « positive_tests « yaml_tests « ci « schema « editor « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d83e14fdc6ad080959253e380c6a04c4ba04db7e (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
stages:
  - prepare

# valid cache:when values
job1:
  stage: prepare
  script:
    - echo 'running job'
  cache:
    when: 'on_success'

job2:
  stage: prepare
  script:
    - echo 'running job'
  cache:
    when: 'on_failure'

job3:
  stage: prepare
  script:
    - echo 'running job'
  cache:
    when: 'always'