Git-clone failed by the \b character in clone command

#1

Today I got this error when running the new build:

git "init"
Initialized empty Git repository in /Users/vagrant/git/.git/
git "remote" "add" "origin" "git@gitlab.com:XXX/xxx-tvos.git"
git "fetch" "origin" "\bdevelop"
fatal: invalid refspec '?develop'
Attempt 1 failed:
exit status 128
Retrying...
git "fetch" "origin" "\bdevelop"
fatal: invalid refspec '?develop'
Attempt 2 failed:
exit status 128
Retrying...
git "fetch" "origin" "\bdevelop"
fatal: invalid refspec '?develop'
Attempt 3 failed:
exit status 128
ERROR: checkout (develop): Fetch failed, error: exit status 128

This line is really weird: git "fetch" "origin" "\bdevelop"

Why there is the \b before the branch name? It’s doesn’t exist for the other build.

0 Likes

#2

@viktorbenei Hi, could you please take a look at this? It’s really weird that the build set by Schedule works fine but not when trigger by manually.

0 Likes

#3

@han.tran!

Sorry for our silence on this so far. Can you please include a URL to a build where this is happening?

0 Likes