Commit 7e44a2c5 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

rename var

parent 150e37ef
image: docker.gitlab.gwdg.de/fontane-notizbuecher/build:latest
variables:
EXIST-DB: "eXist-db-4.3.1"
EXIST_DB: "eXist-db-4.3.1"
stages:
- build
......@@ -19,14 +19,14 @@ ant:
installation:
stage: test
script:
- wget --quite --output-document=${EXIST-DB}.tar.gz https://bintray.com/existdb/releases/download_file?file_path=${EXIST-DB}.tar.gz
- tar -xzf ${EXIST-DB}.tar.gz
- cp build/*.xar ${EXIST-DB}/autodeploy
- wget --quite --output-document=${EXIST_DB}.tar.gz https://bintray.com/existdb/releases/download_file?file_path=${EXIST_DB}.tar.gz
- tar -xzf ${EXIST_DB}.tar.gz
- cp build/*.xar ${EXIST_DB}/autodeploy
- bash ${EXIST-DB}/bin/startup.sh | tee output.log &
# wait for eXist
- while [ $(curl -I -s http://localhost:8080 | grep -c "200 OK") == 0 ]; do sleep 2s; done
# shutdown eXist
- bash ${EXIST-DB}/bin/shutdown.sh
- bash ${EXIST_DB}/bin/shutdown.sh
- mv /tmp/tests-*.xml .
artifacts:
paths:
......
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