summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-12-13 22:02:30 +0100
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-12-13 22:02:30 +0100
commite564ca1165e0c43d42fa1247e31b43cb781d3dd8 (patch)
treec773c0ef625344f7077de7780b861e0a4e6db97b
parente9e33d3cf0f6e9b555d633611645f41619a3d4e5 (diff)
3rd party ci: Fix bug introduced by wiping out the WORKSPACE itself
Change-Id: I61de7763412d791bcce20174d6058acf818d0e13 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
-rwxr-xr-xjjb/3rd_party_ci/create-apex-vms.sh2
-rwxr-xr-xjjb/3rd_party_ci/download-netvirt-artifact.sh2
-rwxr-xr-xjjb/3rd_party_ci/functest-netvirt.sh2
-rwxr-xr-xjjb/3rd_party_ci/postprocess-netvirt.sh2
4 files changed, 4 insertions, 4 deletions
diff --git a/jjb/3rd_party_ci/create-apex-vms.sh b/jjb/3rd_party_ci/create-apex-vms.sh
index 11a35acf5..a076dd084 100755
--- a/jjb/3rd_party_ci/create-apex-vms.sh
+++ b/jjb/3rd_party_ci/create-apex-vms.sh
@@ -2,7 +2,7 @@
set -e
# wipe the WORKSPACE
-/bin/rm -rf $WORKSPACE
+/bin/rm -rf $WORKSPACE/*
# clone opnfv sdnvpn repo
git clone https://gerrit.opnfv.org/gerrit/p/sdnvpn.git $WORKSPACE/sdnvpn
diff --git a/jjb/3rd_party_ci/download-netvirt-artifact.sh b/jjb/3rd_party_ci/download-netvirt-artifact.sh
index 20d6cc5f0..0a48e3aec 100755
--- a/jjb/3rd_party_ci/download-netvirt-artifact.sh
+++ b/jjb/3rd_party_ci/download-netvirt-artifact.sh
@@ -2,7 +2,7 @@
set -e
# wipe the WORKSPACE
-/bin/rm -rf $WORKSPACE
+/bin/rm -rf $WORKSPACE/*
echo "Attempting to fetch the artifact location from ODL Jenkins"
CHANGE_DETAILS_URL="https://git.opendaylight.org/gerrit/changes/netvirt~master~$GERRIT_CHANGE_ID/detail"
diff --git a/jjb/3rd_party_ci/functest-netvirt.sh b/jjb/3rd_party_ci/functest-netvirt.sh
index d89423f57..adffaf42d 100755
--- a/jjb/3rd_party_ci/functest-netvirt.sh
+++ b/jjb/3rd_party_ci/functest-netvirt.sh
@@ -2,6 +2,6 @@
set -e
# wipe the WORKSPACE
-/bin/rm -rf $WORKSPACE
+/bin/rm -rf $WORKSPACE/*
echo "Hello World"
diff --git a/jjb/3rd_party_ci/postprocess-netvirt.sh b/jjb/3rd_party_ci/postprocess-netvirt.sh
index d89423f57..adffaf42d 100755
--- a/jjb/3rd_party_ci/postprocess-netvirt.sh
+++ b/jjb/3rd_party_ci/postprocess-netvirt.sh
@@ -2,6 +2,6 @@
set -e
# wipe the WORKSPACE
-/bin/rm -rf $WORKSPACE
+/bin/rm -rf $WORKSPACE/*
echo "Hello World"