Change-Id: I569d2a68d4ba4b4b2bd5c9fa2abd128973a74798
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
image={repo}:{port}/{container}:{tag}
fi
docker run --rm \
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 \
-v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
-e DEBUG=True \
-e EXTERNAL_NETWORK=public \
-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 \
-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
res=$?
gsutil -m cp -r $WORKSPACE/ \
gs://artifacts.opnfv.org/airship/$JOB_NAME-$BUILD_ID > /dev/null 2>&1