name: functest-run-containers
builders:
- shell: |
- set +e
- set -x
+ set +ex
[ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
if [ "{repo}" = "_" ]; then
image={container}:{tag}
-e DEBUG=true \
-v /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file \
-v /home/opnfv/functest/images:/home/opnfv/functest/images \
+ -v /home/opnfv/functest/blacklist.yaml:/usr/lib/python2.7/\
+ site-packages/functest/opnfv_tests/openstack/rally/blacklist.yaml \
$image run_tests -t {test}
res=$?
- gsutil -D -m cp -r $WORKSPACE/ \
- gs://artifacts.opnfv.org/functest/$JOB_NAME-$BUILD_ID
+ gsutil -m cp -r $WORKSPACE/ \
+ gs://artifacts.opnfv.org/functest/$JOB_NAME-$BUILD_ID > /dev/null 2>&1
find $WORKSPACE -type f \
-printf \
"http://artifacts.opnfv.org/functest/$JOB_NAME-$BUILD_ID/%P\n"