X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=bootstrap-nsh_sfc-functional-virl.sh;h=034ea9bfd42a977f380df031f78e8ca63d89d605;hp=f74942940e0e53c22d18eed0fddba427cc4f93ea;hb=a1d5958923570116e19f6153ae2a35c74f881b13;hpb=6721e7f09aa95bff6622068332a3f56afad9c87b 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