Code Review
/
releng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
6c84af5
)
Merge "[Functest] Block daily job if healthcheck fails"
author
Morgan Richomme
<morgan.richomme@orange.com>
Thu, 28 Sep 2017 09:16:31 +0000
(09:16 +0000)
committer
Gerrit Code Review
<gerrit@opnfv.org>
Thu, 28 Sep 2017 09:16:31 +0000
(09:16 +0000)
jjb/functest/functest-alpine.sh
patch
|
blob
|
history
diff --git
a/jjb/functest/functest-alpine.sh
b/jjb/functest/functest-alpine.sh
index
fdc3481
..
ffd86f8
100755
(executable)
--- a/
jjb/functest/functest-alpine.sh
+++ b/
jjb/functest/functest-alpine.sh
@@
-20,7
+20,11
@@
run_tiers() {
eval ${cmd}
ret_value=$?
if [ ${ret_value} != 0 ]; then
- echo ${ret_value} > ${ret_val_file}
+ echo ${ret_value} > ${ret_val_file}
+ if [ ${tier} == 'healthcheck' ]; then
+ echo "Healthcheck tier failed. Exiting Functest..."
+ exit 1
+ fi
fi
done
}