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

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/18112354-49a6-4852-8b3f-7724ff0211a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to