summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2017-08-26 01:30:01 +0000
committerLinda Wang <wangwulin@huawei.com>2017-08-26 01:30:01 +0000
commit24a9ac5a97f39d3b45b64cf01afbbe0af6704546 (patch)
treecb5dfe4deb5d7fb4dbae095de3d9cb78a39e4299 /jjb/functest
parent1e7eda23e7196a760a0fb12a86d88ec0560c64fd (diff)
Avoid exiting the script if an error happens
1. Avoid exiting the script if an tier fails 2. Push logs to artifacts Change-Id: Ia258994e4694bb71615f7adc18967afcc237813f Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'jjb/functest')
-rw-r--r--jjb/functest/functest-alpine.sh1
-rw-r--r--jjb/functest/functest-daily-jobs.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/jjb/functest/functest-alpine.sh b/jjb/functest/functest-alpine.sh
index da098862a..f0e08e171 100644
--- a/jjb/functest/functest-alpine.sh
+++ b/jjb/functest/functest-alpine.sh
@@ -66,6 +66,7 @@ fi
volumes="${images_vol} ${results_vol} ${sshkey_vol} ${rc_file_vol} ${cacert_file_vol}"
+set +e
tiers=(healthcheck smoke features vnf)
for tier in ${tiers[@]}; do
diff --git a/jjb/functest/functest-daily-jobs.yml b/jjb/functest/functest-daily-jobs.yml
index 802f82c99..23649fc08 100644
--- a/jjb/functest/functest-daily-jobs.yml
+++ b/jjb/functest/functest-daily-jobs.yml
@@ -418,6 +418,7 @@
- ./functest-env-presetup.sh
- ../../utils/fetch_os_creds.sh
- ./functest-alpine.sh
+ - ../../utils/push-test-logs.sh
- builder:
name: functest-daily