Add postprocess script 29/26229/1
authorNikolas Hermanns <nikolas.hermanns@ericsson.com>
Mon, 19 Dec 2016 10:33:35 +0000 (11:33 +0100)
committerNikolas Hermanns <nikolas.hermanns@ericsson.com>
Mon, 19 Dec 2016 10:33:35 +0000 (11:33 +0100)
Change-Id: I57698d3fa25394432051a0f597a027890aebdb84
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
jjb/3rd_party_ci/postprocess-netvirt.sh

index adffaf4..2e99477 100755 (executable)
@@ -2,6 +2,13 @@
 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/*
-
-echo "Hello World"
+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