.jenkins.sh 343 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# Copyright ETSI 2018
# See: https://forge.etsi.org/etsi-forge-copyright-statement.txt

#set -vx
#set -e

cd "$(dirname "$0")"

run_dir="$(pwd)"

12
13
echo "Using git branch $GIT_BRANCH"

Michele Carignani's avatar
Michele Carignani committed
14
bash ./scripts/build-container.sh
15
bash ./scripts/run-container.sh "${run_dir}" "$GIT_BRANCH"
16

Michele Carignani's avatar
bugfix    
Michele Carignani committed
17
18
19
ret=$?
echo "Final validation result: $ret"
exit $ret