Commit 902d7d0f authored by Schultz, Lucian's avatar Schultz, Lucian
Browse files

Changes in .yml

parent 5834576e
Pipeline #21653 passed with stage
in 7 seconds
stages:
- generate
- consume
job1:
stage: generate
script:
- mkdir build
- echo "Hello i am Job 1 executed on the $CI_COMMIT_REF_Name branch only" > build/job1-result.txt
artifacts:
paths:
- build/
only:
- master
job2:
stage: generate
script:
- mkdir build
- echo "Hello i am Job 2 executed on the $CI_COMMIT_REF_Name branch only" > build/job2-result.txt
artifacts:
paths:
- build/
only:
variables:
- $CI_COMMIT_REF_Name == "release"
job3:
stage: generate
script:
- mkdir build
- echo "Hello i am Job 3 and always executed for the master or release branch" > build/job3-result.txt
artifacts:
paths:
- build/
except:
- master
- release
job4:
stage: consume
script:
- cat build/*-result.txt
variables:
GREET: "Mundo"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment