Daniel,

Don't try to be clever here. `checkout scm`.

You are giving me more credit than I deserve. 

I really don't understand how source files from Git can appear in the 
workspace and .git dir is missing.
In fact, for all the source files corresponding to every branch, there is 
no .git dir.
I have seen this issue only when I started using multibranch pipeline and 
not with pipeline or other build job types.
Also, in this case alone, I am using Jenkinsfile driven build steps


On Saturday, 11 February 2017 15:16:23 UTC+5:30, Daniel Beck wrote:

>
> > On 11.02.2017, at 05:02, Sharan Basappa <sharan....@gmail.com 
> <javascript:>> wrote: 
> > 
> > 3) I am not checking out any repository explicitly in my Jenkinsfile - I 
> still find source code in the workspace through 
>
> That's probably the reason, and the reason it's in a wrong directory. 
> Don't try to be clever here. `checkout scm`. 
>
>

-- 
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/eebf0cb3-d3ec-4298-bef9-8ed3baa87bb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to