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

Update .gitlab-ci.yml

parent 575d9a68
Pipeline #7681 failed with stage
in 16 seconds
......@@ -48,7 +48,7 @@ variables:
echo $(( $1 + $2 ))
}
addition:
.addition:
stage: calculator
variables:
x: 40
......@@ -58,14 +58,14 @@ addition:
script: |
add $x $y
ci_variables:
.ci_variables:
stage: display_variables
script: |
echo $FIRST_NAME
echo $LAST_NAME
echo $MESSAGE
predefined_variables:
.predefined_variables:
stage: display_variables
script: |
echo "Branch's name: $CI_COMMIT_REF_NAME"
......@@ -78,9 +78,9 @@ hello_python:
MESSAGE: "Hello from Python"
script: |
python -c '
import os
print(os.environ.get('MESSAGE')
print("Hello, World! with Python")
import os
print(os.environ.get('MESSAGE')
print("Hello, World! with Python")
'
......
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