summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolas Hermanns <nikolas.hermanns@ericsson.com>2016-12-19 11:33:35 +0100
committerNikolas Hermanns <nikolas.hermanns@ericsson.com>2016-12-19 11:33:35 +0100
commitaca2e26a65da9fb6b66a4bc58440cbc7c4355c99 (patch)
treeed10d2f766868b2994243dcb6799090c3a20c0d4
parent0592db5f1d7ef7a510c149b6394bd2b42adfd4a7 (diff)
Add postprocess script
Change-Id: I57698d3fa25394432051a0f597a027890aebdb84 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
-rwxr-xr-xjjb/3rd_party_ci/postprocess-netvirt.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/jjb/3rd_party_ci/postprocess-netvirt.sh b/jjb/3rd_party_ci/postprocess-netvirt.sh
index adffaf42d..2e99477c5 100755
--- a/jjb/3rd_party_ci/postprocess-netvirt.sh
+++ b/jjb/3rd_party_ci/postprocess-netvirt.sh
@@ -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