I am using multi-branch pipeline and I find that source code is present under
{workspace}@script directory but .git files are missing in any of the directories.
So, when I try to stash so that I can move to another branch, I get error saying that, "it does not appear to be a git repository"
Let me know what the issue is?
The following are some additional information:
1) I am using Jenkinsfile that is at the root of my git repository
2) I have created a Jenkins job using multi-branch pipeline and have only given path to git and only option to pool SCM every minute
3) I am not checking out any repository explicitly in my Jenkinsfile - I still find source code in the workspace through