When the pipeline starts, we can retrieve in the job output the following error message:
git clone -q --branch=main https://myrepo.git;6 /Users/appveyor/projects/my-workspace-79ve7
/usr/local/Cellar/appveyor-build-agent/7.0.3293/bash-shell.sh: line 51: 6: command not found
Looks like the clone_depth property isn't correctly retrieved from the yaml and is parsed as a command instead. As you can see, 6 is the clone_depth value.
It's not used when cloning
bash-shell.sh seems to execute it as command (which obviously fails)
Hello! :wave:
We're having trouble with shallow cloning when using macos images. The
clone_depth
property do not seem to be correctly parsed.Here's our base config (sorry for not having a reproducer):
When the pipeline starts, we can retrieve in the job output the following error message:
Looks like the
clone_depth
property isn't correctly retrieved from the yaml and is parsed as a command instead. As you can see,6
is theclone_depth
value.What can I do to fix this?