summaryrefslogtreecommitdiffstats
path: root/jjb/3rd_party_ci/postprocess-netvirt.sh
blob: 2e99477c5d4a5d9edb227ec6b78b41cf98f58bc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
set -e

# 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