.gitlab-ci.yml 341 Bytes
Newer Older
Lohse, Felix's avatar
Lohse, Felix committed
1
stages:
Lohse, Felix's avatar
Lohse, Felix committed
2
3
    - generate
    - consume
Lohse, Felix's avatar
Lohse, Felix committed
4
5

job1:
Lohse, Felix's avatar
Lohse, Felix committed
6
    stage: generate
Lohse, Felix's avatar
Lohse, Felix committed
7
    script:
Lohse, Felix's avatar
Lohse, Felix committed
8
9
        - mkdir arti
        - echo "Hello I am job 1" > arti/job1-result.txt
Lohse, Felix's avatar
Lohse, Felix committed
10
11

job2:
Lohse, Felix's avatar
Lohse, Felix committed
12
    stage: generate
Lohse, Felix's avatar
Lohse, Felix committed
13
    script:
Lohse, Felix's avatar
Lohse, Felix committed
14
15
        - mkdir arti
        - echo "Hello I am job 2" > arti/job2-result.txt
Lohse, Felix's avatar
Lohse, Felix committed
16
17

job3:
Lohse, Felix's avatar
Lohse, Felix committed
18
    stage: consume
Lohse, Felix's avatar
Lohse, Felix committed
19
    script:
Lohse, Felix's avatar
Lohse, Felix committed
20
        - cat arti/*-result.txt