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

update

parent a58aab8f
Pipeline #7685 passed with stage
in 17 seconds
......@@ -76,14 +76,10 @@ hello_python:
stage: polyglot
variables:
MESSAGE: "Hello from Python"
script: |
export MESSAGE=$MESSAGE; python -c '
import os
print(os.environ.get('MESSAGE'))
print("Hello, World! with Python")
'
SOURCE_CODE: |
import os
message = os.environ.get('MESSAGE')
print(message)
script:
- python -c "$SOURCE_CODE"
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