我想在 jenkinsfile 中运行这个命令
git checkout <repo> <folder name>
但我得到这个错误
[git-checkout-example] Running shell script
+ git checkout git@code.in.spdigital.io:sp-digital/jarvis-api.git wahahah
fatal: Not a git repository (or any of the parent directories): .git
知道如何在 Jenkinsfile 中进行操作吗?我可以将文件签出到特定文件夹吗?