X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2F3rd_party_ci%2Fpostprocess-netvirt.sh;h=5baf378a911828f7127e87757f33912c10f8d0c5;hb=829036742bbb4c75d8528e9fbfc805ca00244b81;hp=abc7975ce7c1a6993d53bc5d2c4bde01eb8e747c;hpb=42841e8a16fa4b1097b9ce9caa78d1d7383cb2eb;p=releng.git diff --git a/jjb/3rd_party_ci/postprocess-netvirt.sh b/jjb/3rd_party_ci/postprocess-netvirt.sh index abc7975ce..5baf378a9 100755 --- a/jjb/3rd_party_ci/postprocess-netvirt.sh +++ b/jjb/3rd_party_ci/postprocess-netvirt.sh @@ -1,4 +1,15 @@ #!/bin/bash +set -e -echo "Hello World" -ls -al $WORKSPACE +if [ -z ${WORKSPACE} ]; then + echo "WORKSPACE is unset. Please do so." + exit 1 +fi +# wipe the WORKSPACE +/bin/rm -rf $WORKSPACE/* +# 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