Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
improve: discard venv support for official product
[releng.git]
/
jjb
/
3rd_party_ci
/
postprocess-netvirt.sh
diff --git
a/jjb/3rd_party_ci/postprocess-netvirt.sh
b/jjb/3rd_party_ci/postprocess-netvirt.sh
index
2e99477
..
7965142
100755
(executable)
--- a/
jjb/3rd_party_ci/postprocess-netvirt.sh
+++ b/
jjb/3rd_party_ci/postprocess-netvirt.sh
@@
-1,14
+1,11
@@
#!/bin/bash
#!/bin/bash
-set -e
+set -o errexit
+set -o nounset
+set -o pipefail
-# 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
# 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
+popd