aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap-nsh_sfc-functional-virl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap-nsh_sfc-functional-virl.sh')
-rwxr-xr-xbootstrap-nsh_sfc-functional-virl.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstrap-nsh_sfc-functional-virl.sh b/bootstrap-nsh_sfc-functional-virl.sh
index f74942940e..034ea9bfd4 100755
--- a/bootstrap-nsh_sfc-functional-virl.sh
+++ b/bootstrap-nsh_sfc-functional-virl.sh
@@ -17,6 +17,8 @@ set -x
cat /etc/hostname
cat /etc/hosts
+ARCHIVE_ARTIFACTS=(log.html output.xml report.html)
+
export DEBIAN_FRONTEND=noninteractive
sudo apt-get -y update
sudo apt-get -y install libpython2.7-dev python-virtualenv
@@ -238,3 +240,9 @@ PYTHONPATH=`pwd` pybot -L TRACE -W 136\
--exclude PERFTEST \
--exclude SKIP_PATCH \
tests/
+
+# Archive artifacts
+mkdir archive
+for i in ${ARCHIVE_ARTIFACTS[@]}; do
+ cp $( readlink -f ${i} | tr '\n' ' ' ) archive/
+done