xci: Ensure we are in the root directory for bug reports 55/48655/1
authorMarkos Chandras <mchandras@suse.de>
Mon, 11 Dec 2017 15:14:59 +0000 (15:14 +0000)
committerMarkos Chandras <mchandras@suse.de>
Mon, 11 Dec 2017 15:14:59 +0000 (15:14 +0000)
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 <mchandras@suse.de>
xci/xci-deploy.sh

index d5e41f6..5cc3341 100755 (executable)
@@ -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 :-("