From: Cédric Ollivier Date: Thu, 19 Sep 2019 19:34:09 +0000 (+0200) Subject: Publish Airship tests in DB X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=commitdiff_plain;h=ddc2bb6cae8b2c7fe63aca45db5e01a15ec1d906 Publish Airship tests in DB Change-Id: I569d2a68d4ba4b4b2bd5c9fa2abd128973a74798 Signed-off-by: Cédric Ollivier --- diff --git a/jjb/airship/airship.yaml b/jjb/airship/airship.yaml index dc10d0a9a..e2428d604 100644 --- a/jjb/airship/airship.yaml +++ b/jjb/airship/airship.yaml @@ -66,6 +66,8 @@ image={repo}:{port}/{container}:{tag} fi docker run --rm \ + -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \ + -e NODE_NAME=airship \ -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \ -e DEBUG=True \ -e EXTERNAL_NETWORK=public \ @@ -73,7 +75,7 @@ -v /home/opnfv/functest/images:/home/opnfv/functest/images \ -v /home/opnfv/functest/tempest_conf.yaml:/usr/lib/python2.7/\ site-packages/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml \ - $image run_tests -t {test} + $image run_tests -t {test} -r res=$? gsutil -m cp -r $WORKSPACE/ \ gs://artifacts.opnfv.org/airship/$JOB_NAME-$BUILD_ID > /dev/null 2>&1