aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap-nsh_sfc-functional-virl.sh
diff options
context:
space:
mode:
authorFangyin Hu <fangyinx.hu@intel.com>2017-06-26 20:34:56 -0700
committerPeter Mikus <pmikus@cisco.com>2017-07-05 05:54:29 +0000
commit050ece3a87fbbad7d04e69ed951c48118edf0a89 (patch)
tree66ed8e4ede224e60e277cb366844f3edb1079539 /bootstrap-nsh_sfc-functional-virl.sh
parenta097c8748051f82e36b3cc3049bf3e596c2252a4 (diff)
Change the bootstrap script file and test the CI-management.
Debug the NSH SFC functional test. Change the test cases and not use the tcpdump. Delete the unused code. Change the directory structure. Change-Id: I52486b9ba4b02e305f702ffc8cdb84e941cb18ff Signed-off-by: Fangyin Hu <fangyinx.hu@intel.com>
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