Commit 1342ba5b authored by Philippe Charrière's avatar Philippe Charrière
Browse files

Update .gitlab-ci.yml

parent 64edc95d
Pipeline #7690 passed with stage
in 42 seconds
......@@ -4,6 +4,7 @@ stages:
- calculator
- display_variables
- polyglot
- all_under_control
variables:
message: "Happy Christmas!"
......@@ -94,7 +95,7 @@ variables:
script:
- node -e "$SOURCE_CODE"
artefact_generator:
.artefact_generator:
image: python:slim
stage: polyglot
variables:
......@@ -116,5 +117,17 @@ artefact_generator:
script:
- python -c "$SOURCE_CODE"
when_master:
stage: all_under_control
rules:
- if: $CI_COMMIT_BRANCH == "master"
script: |
echo "We are on the master branch"
when_merge_request:
stage: all_under_control
rules:
- if: $CI_MERGE_REQUEST_IID
script: |
echo "We are on the branch $CI_COMMIT_REF_NAME"
echo "IID: $CI_MERGE_REQUEST_IID"
Supports Markdown
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