Commit 5834576e authored by Schultz, Lucian's avatar Schultz, Lucian
Browse files

Uebung 4

parent 09a38067
Pipeline #21652 failed
......@@ -43,3 +43,26 @@ job4:
script:
- cat build/*-result.txt
variables:
GREET: "Mundo"
stages:
- test
java:
stage: test
script:
- javac src/*.java
- java -cp src/ Hello $GREET > result.txt
- cat result.txt
- cat result.txt | grep "Hello $GREET"
image: "openjdk:14"
python:
stage: test
script:
- python src/hello.py $GREET > result.txt
- cat result.txt
- cat result.txt | grep "Hello $GREET"
image: "python:3-slim"
\ No newline at end of file
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