Commit dcd21004 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

snf-ci: Fix the branch name for pithos webclient

When cloning the pithos webclient, snf-ci tries to checkout a branch
with the same name as the synnefo one (if such branch exists). To do so
it gets the list of all branches using the 'git branch' command. But
'git branch' uses the pager and so the command's output is filled with
garbage. This patch fixes that by telling git to not use the pager.
parent 41344f05
......@@ -732,7 +732,7 @@ class SynnefoCI(object):
for branch in `git branch -a | grep remotes | grep -v HEAD`; do
git branch --track ${branch##*/} $branch > /dev/null 2>&1
done
git branch
git --no-pager branch --no-color
"""
webclient_branches = _run(cmd, False)
webclient_branches = webclient_branches.split()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment