From ddc2bb6cae8b2c7fe63aca45db5e01a15ec1d906 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Thu, 19 Sep 2019 21:34:09 +0200 Subject: [PATCH] Publish Airship tests in DB MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I569d2a68d4ba4b4b2bd5c9fa2abd128973a74798 Signed-off-by: Cédric Ollivier --- jjb/airship/airship.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.16.6