.gitlab-ci.yml 346 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 build
        - echo "Hello I am job 1" > build/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 build
        - echo "Hello I am job 2" > build/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 build/*-result.txt