Skip to content
Snippets Groups Projects
Commit 94adb87e authored by Elian Kraja's avatar Elian Kraja Committed by Giacomo Bernini
Browse files

CI/CD enhancements

parent 547c77e4
No related branches found
No related tags found
3 merge requests!228Merge 2.8.1 dev into Master",!226Merve 2.8.1 dev into Master,!197merge 2.8.1 fix plu into 2.8.1 dev
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment