Hi!

I've been running a couple free-style Jenkins builds for a little while now 
without issue - thanks for the great software! My project is a cross 
platform C++ project, and now that I'm trying to set up a multi 
configuration build to unify everything, I'm seeing the following error.

My master node checks out the git repo to workspace/projectname - so far so 
good. Then, since my master node is also one of the builders, it creates a 
separate copy of the git repo *inside* the first repo, such that the 
directory structure looks like 
workspace/projectname/label/windows7/gitclone2. This seems weird enough (I 
guess it could work?) but I also have the option selected in my git options 
to run `git clean` after a git pull to ensure that the build is totally 
clean each time. When this runs in the top level project directory, it 
removes everything in the 'label' directory, meaning the actual copy of the 
repo that is needed in order to build has been deleted.

Is this a known issue? Are there any recommended work arounds, other than 
deselecting the 'git clean' option?

Thanks!
Liam

Reply via email to