You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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):
build: falseimage: macos-sonoma # same issue on macos-montereyshallow_clone: trueclone_depth: 6skip_tags: truebranches:
only:
- staging
- prod
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)
Also we're using appveyor from gitlab.
What can I do to fix this?
The text was updated successfully, but these errors were encountered:
Hello! 👋
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?
The text was updated successfully, but these errors were encountered: