X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2F3rd_party_ci%2Fpostprocess-netvirt.sh;h=2e99477c5d4a5d9edb227ec6b78b41cf98f58bc8;hb=c6311f43a1d0bb366f9a789af49beb8c1fd9779e;hp=abc7975ce7c1a6993d53bc5d2c4bde01eb8e747c;hpb=0b362d69bf72e2828ad87902c47a6cf54a00ff8d;p=releng.git diff --git a/jjb/3rd_party_ci/postprocess-netvirt.sh b/jjb/3rd_party_ci/postprocess-netvirt.sh index abc7975ce..2e99477c5 100755 --- a/jjb/3rd_party_ci/postprocess-netvirt.sh +++ b/jjb/3rd_party_ci/postprocess-netvirt.sh @@ -1,4 +1,14 @@ #!/bin/bash +set -e -echo "Hello World" -ls -al $WORKSPACE +# 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