From: Markos Chandras Date: Mon, 11 Dec 2017 15:14:59 +0000 (+0000) Subject: xci: Ensure we are in the root directory for bug reports X-Git-Tag: 6.0.0~217^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=696988b2ab6b19d65334b41553f3b61d6cf1ecab;p=releng-xci.git xci: Ensure we are in the root directory for bug reports During the XCI deployment we change directories in too many places. As a result of which, when something breaks, we may be outside the releng-xci checkout directory so we need to enter it again for all the git commands to work. Change-Id: I6adcff396fc5d7cce8bb07353dec26b76b1825a4 Signed-off-by: Markos Chandras --- diff --git a/xci/xci-deploy.sh b/xci/xci-deploy.sh index d5e41f66..5cc33416 100755 --- a/xci/xci-deploy.sh +++ b/xci/xci-deploy.sh @@ -4,6 +4,7 @@ set -o nounset set -o pipefail submit_bug_report() { + cd ${XCI_PATH} echo "" echo "-------------------------------------------------------------------------" echo "Oh nooooo! The XCI deployment failed miserably :-("