.jenkins.sh 326 Bytes
Newer Older
Giacomo Bernini's avatar
Giacomo Bernini committed
#!/bin/bash
# Copyright ETSI 2017
# See: https://forge.etsi.org/etsi-forge-copyright-statement.txt

cd "$(dirname "$0")"

run_dir="$(pwd)"

rm build/*-API.yaml
rm build/*-API.json

cd docker

Giacomo Bernini's avatar
Giacomo Bernini committed
chmod +x build-container.sh
Giacomo Bernini's avatar
Giacomo Bernini committed
./build-container.sh

Giacomo Bernini's avatar
Giacomo Bernini committed
chmod +x run-container.sh
Giacomo Bernini's avatar
Giacomo Bernini committed
./run-container.sh "${run_dir}"
OUTCOME=$?

exit $OUTCOME