diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-12-13 21:52:01 +0100 |
---|---|---|
committer | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-12-13 21:55:22 +0100 |
commit | e9e33d3cf0f6e9b555d633611645f41619a3d4e5 (patch) | |
tree | 72a3f9f9adc23b4b39ced3ac445242ed43e68c49 /jjb/3rd_party_ci/create-apex-vms.sh | |
parent | 2f97d988e56c9712b5515e35da2e51e39120ef2a (diff) |
3rd party ci: Wipe the workspace before doing anything else
Due to not cloning the repos, the workspace is not wiped out.
This change makes sure we remove everything in workspace to
prevent jenkins from complaining.
Change-Id: Ife3c4c752cf37c6ff3bfcdea6ffaebc72c440373
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/3rd_party_ci/create-apex-vms.sh')
-rwxr-xr-x | jjb/3rd_party_ci/create-apex-vms.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/jjb/3rd_party_ci/create-apex-vms.sh b/jjb/3rd_party_ci/create-apex-vms.sh index f35067142..11a35acf5 100755 --- a/jjb/3rd_party_ci/create-apex-vms.sh +++ b/jjb/3rd_party_ci/create-apex-vms.sh @@ -1,8 +1,12 @@ #!/bin/bash set -e + +# 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 ./test_environment.sh --env-number $APEX_ENV_NUMBER --cloner-info $CLONER_INFO --snapshot-disks $SNAPSHOT_DISKS --vjump-hosts $VIRTUAL_JUMPHOSTS -popd
\ No newline at end of file +popd |