summaryrefslogtreecommitdiffstats
path: root/jjb/functest/functest-suite.sh
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2017-02-07 16:32:49 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2017-02-07 17:24:29 +0100
commit36929cbbe427c6088b400ecfbefdb123a2622e24 (patch)
tree1020ced6c25f652344bd55684d0958902b3e6b6e /jjb/functest/functest-suite.sh
parentee25be73d1a5c58bc98a4550f67bd3d059bacbfa (diff)
[Functest] Add push-logs to functest-suite job
Functest suite is used now by different projects for verify jobs for example. Some of these jobs would like to have the logs in artifacts for further troubleshooting. Change-Id: I2e0c2d9539c2e195a5c4fb6c4708d82e512adf94 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'jjb/functest/functest-suite.sh')
-rwxr-xr-xjjb/functest/functest-suite.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/jjb/functest/functest-suite.sh b/jjb/functest/functest-suite.sh
index 28d7e3d10..f28d3d037 100755
--- a/jjb/functest/functest-suite.sh
+++ b/jjb/functest/functest-suite.sh
@@ -13,5 +13,7 @@ container_id=$(docker ps -a | grep opnfv/functest | awk '{print $1}' | head -1)
docker exec $container_id $cmd
ret_value=$?
+ret_val_file="${HOME}/opnfv/functest/results/${BRANCH##*/}/return_value"
+echo ${ret_value}>${ret_val_file}
-exit $ret_value
+exit 0