X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fairship%2Fairship.yaml;h=5b3997532b2ec7b78739fa1e2e9b99f72180e5dc;hb=f22e4e5625450321a628885f30216d653b5cf0b1;hp=dc10d0a9a24d79ee036279740d732c7e6aad4141;hpb=04594c212a266bfc4702daef8272b4b8d8fb3973;p=releng.git diff --git a/jjb/airship/airship.yaml b/jjb/airship/airship.yaml index dc10d0a9a..5b3997532 100644 --- a/jjb/airship/airship.yaml +++ b/jjb/airship/airship.yaml @@ -56,7 +56,8 @@ name: airship-run-containers builders: - shell: | - set +ex + set +e + set -x [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true if [ "{repo}" = "_" ]; then image={container}:{tag} @@ -65,7 +66,11 @@ else image={repo}:{port}/{container}:{tag} fi + echo $WORKSPACE docker run --rm \ + -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \ + -e NODE_NAME=intel-pod17 \ + -e INSTALLER_TYPE=airship \ -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \ -e DEBUG=True \ -e EXTERNAL_NETWORK=public \ @@ -73,10 +78,10 @@ -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 + gs://artifacts.opnfv.org/airship/$JOB_NAME-$BUILD_ID find $WORKSPACE -type f \ -printf \ "http://artifacts.opnfv.org/airship/$JOB_NAME-$BUILD_ID/%P\n"