From ba814bb6e031e1215668db9573abc00f68b8da48 Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Mon, 26 Feb 2018 14:52:22 +0000 Subject: [PATCH] xci: Set appropriate permissions for the key Change-Id: I6387ca1f7eaf107f735eab82917d77b2f3a3d90a Signed-off-by: Fatih Degirmenci --- jjb/xci/xci-run-functest.sh | 1 + jjb/xci/xci-set-scenario.sh | 1 + jjb/xci/xci-start-deployment.sh | 1 + jjb/xci/xci-start-new-vm.sh | 1 + 4 files changed, 4 insertions(+) diff --git a/jjb/xci/xci-run-functest.sh b/jjb/xci/xci-run-functest.sh index 9a235940e..39d4ea190 100755 --- a/jjb/xci/xci-run-functest.sh +++ b/jjb/xci/xci-run-functest.sh @@ -29,6 +29,7 @@ fi if [[ $GERRIT_PROJECT != "releng-xci" ]]; then cd $HOME && /bin/rm -rf $WORKSPACE git clone https://gerrit.opnfv.org/gerrit/releng-xci $WORKSPACE && cd $WORKSPACE + chmod -R go-rwx $WORKSPACE/xci/scripts/vm fi # skip the deployment if the scenario is not supported on this distro diff --git a/jjb/xci/xci-set-scenario.sh b/jjb/xci/xci-set-scenario.sh index 1bd6fd0c5..4fffafbbb 100755 --- a/jjb/xci/xci-set-scenario.sh +++ b/jjb/xci/xci-set-scenario.sh @@ -34,6 +34,7 @@ fi if [[ $GERRIT_PROJECT != "releng-xci" ]]; then cd $HOME && /bin/rm -rf $WORKSPACE git clone https://gerrit.opnfv.org/gerrit/releng-xci $WORKSPACE && cd $WORKSPACE + chmod -R go-rwx $WORKSPACE/xci/scripts/vm fi WORK_DIRECTORY=/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO diff --git a/jjb/xci/xci-start-deployment.sh b/jjb/xci/xci-start-deployment.sh index 1dc3fa405..cb75b511e 100755 --- a/jjb/xci/xci-start-deployment.sh +++ b/jjb/xci/xci-start-deployment.sh @@ -29,6 +29,7 @@ fi if [[ $GERRIT_PROJECT != "releng-xci" ]]; then cd $HOME && /bin/rm -rf $WORKSPACE git clone https://gerrit.opnfv.org/gerrit/releng-xci $WORKSPACE && cd $WORKSPACE + chmod -R go-rwx $WORKSPACE/xci/scripts/vm fi # skip the deployment if the scenario is not supported on this distro diff --git a/jjb/xci/xci-start-new-vm.sh b/jjb/xci/xci-start-new-vm.sh index 7db7d863e..d676e2662 100755 --- a/jjb/xci/xci-start-new-vm.sh +++ b/jjb/xci/xci-start-new-vm.sh @@ -29,6 +29,7 @@ fi if [[ $GERRIT_PROJECT != "releng-xci" ]]; then cd $HOME && /bin/rm -rf $WORKSPACE git clone https://gerrit.opnfv.org/gerrit/releng-xci $WORKSPACE && cd $WORKSPACE + chmod -R go-rwx $WORKSPACE/xci/scripts/vm fi # skip the deployment if the scenario is not supported on this distro -- 2.16.6