From: Fatih Degirmenci Date: Wed, 17 Jun 2015 10:25:21 +0000 (+0200) Subject: Move artifact storage and cleanup to their own macros X-Git-Tag: arno.2015.2.0~190 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=ef438d9e5f30d73d2ef1d8be1e83191c51b76c6d;p=releng.git Move artifact storage and cleanup to their own macros JIRA: FUNCTEST-9, FUNCTEST-12 Change-Id: Ibf1f959ca99a75bbbffd51ee36c9625b5f82cf57 Signed-off-by: Fatih Degirmenci --- diff --git a/jjb/functest/functest.yml b/jjb/functest/functest.yml index 9412bc2a0..1d4abb971 100644 --- a/jjb/functest/functest.yml +++ b/jjb/functest/functest.yml @@ -226,6 +226,8 @@ builders: - 'functest-all' + - 'functest-store-results' + - 'functest-cleanup' - job-template: name: 'functest-daily-{stream}' @@ -447,9 +449,20 @@ # save tempest.conf for further troubleshooting cp $HOME/.rally/tempest/for-deployment-*/tempest.conf $HOME/functest/results - - # push results to artifact + +- builder: + name: functest-store-results + builders: + - shell: !include-raw res-build.sh +- builder: + name: functest-cleanup + builders: + - shell: + - shell: | + #!/bin/bash + set +e + # cleanup python $WORKSPACE/testcases/config_functest.py --debug --force $WORKSPACE/ clean