From 24a9ac5a97f39d3b45b64cf01afbbe0af6704546 Mon Sep 17 00:00:00 2001 From: Linda Wang Date: Sat, 26 Aug 2017 01:30:01 +0000 Subject: 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 --- jjb/functest/functest-alpine.sh | 1 + jjb/functest/functest-daily-jobs.yml | 1 + 2 files changed, 2 insertions(+) (limited to 'jjb/functest') 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 -- cgit 1.2.3-korg