Merge "Create Apex Adapter"
[releng.git] / jjb / 3rd_party_ci / postprocess-netvirt.sh
index abc7975..5baf378 100755 (executable)
@@ -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