Commit 94adb87e authored by Elian Kraja's avatar Elian Kraja Committed by Giacomo Bernini
Browse files

CI/CD enhancements

parent 547c77e4
......@@ -12,7 +12,18 @@ run_dir="$(pwd)"
echo "Using git branch $GIT_BRANCH"
bash ./scripts/build-container.sh
bash ./scripts/run-container.sh "${run_dir}" "$GIT_BRANCH"
ret=$?
if [ "$ret" != "0" ]; then
echo "build-container.sh failed"
exit -1
fi
bash ./scripts/run-container.sh "${run_dir}"
ret=$?
if [ "$ret" != "0" ]; then
echo "run-container.sh failed"
exit -1
fi
if [[ "$GIT_BRANCH" =~ .*fix-plu$ ]]; then
......@@ -30,3 +41,4 @@ fi
ret=$?
echo "Final validation result: $ret"
exit $ret
FROM ubuntu:16.04
FROM ubuntu:18.04
MAINTAINER ETSI STF 583
......
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