X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2F3rd_party_ci%2Fpostprocess-netvirt.sh;h=79651425948157a5156554966fd71d04d642e8ec;hb=28f7d7c0ef101a6660b743620e0f2d5aa3e8993e;hp=2e99477c5d4a5d9edb227ec6b78b41cf98f58bc8;hpb=92e6e549dcab1777ebcc7c888e99c52f0dfdf433;p=releng.git diff --git a/jjb/3rd_party_ci/postprocess-netvirt.sh b/jjb/3rd_party_ci/postprocess-netvirt.sh index 2e99477c5..796514259 100755 --- a/jjb/3rd_party_ci/postprocess-netvirt.sh +++ b/jjb/3rd_party_ci/postprocess-netvirt.sh @@ -1,14 +1,11 @@ #!/bin/bash -set -e +set -o errexit +set -o nounset +set -o pipefail -# wipe the WORKSPACE -if [ -z ${WORKSPACE} ]; then echo "WORKSPACE is unset"; else echo "WORKSPACE is set to \"$WORKSPACE\""; fi -WORKSPACE=${WORKSPACE:-$PWD} -/bin/rm -rf $WORKSPACE/* -set -e # clone opnfv sdnvpn repo git clone https://gerrit.opnfv.org/gerrit/p/sdnvpn.git $WORKSPACE/sdnvpn . $WORKSPACE/sdnvpn/odl-pipeline/odl-pipeline-common.sh pushd $LIB ./post_process.sh -popd \ No newline at end of file +popd