I've had file locking issues with Git on windows on and off - not sure
there is too much to one can do about it to prevent it as it just always
seems to me to be another case of Windows' broken file handling...

Richard

On Thursday, October 3, 2013, Scott Evans wrote:

> We have a Jenkins server (1.518) running on Ubuntu, with many plugins
> active, including "Jenkins GIT client plugin" 1.3.0 and "Jenkins GIT
> plugin" 1.5.0.  What we're seeing is that in many cases on Windows agents
> of either Win7x64 or WinXP (not on Ubuntu), that often (but not always), a
> Git .pack file remains held open, causing subsequent builds to fail due to
> the Git .pack file remaining open.  The only workarounds we have right now
> are to either bounce the agent java process on each windows machine that's
> showing the issue, or run a scheduled job which uses a handle.exe utility
> to find open .pack files and close them forcibly.  Neither of these options
> are useful in the grand scheme of things.
>
> I've tried changing the options on our windows agent .bat launch scripts
> to include either:
>
> java -Xmx5g -Dorg.jenkinsci.plugins.gitclient.Git.useJGit=true -jar
> slave.jar -jnlpurl ...
> java -Xmx5g -Dorg.jenkinsci.plugins.gitclient.Git.useCLI=true -jar
> slave.jar -jnlpurl ...
>
> but neither option has caused any difference in behavior.  In reading
> online it looks like 1.518 already sets useCLI=true as default, so I'm
> doubtful that it's making any difference anyway.
>
> Are others seeing this issue?  If not, any suggestions on where to look to
> try and resolve this issue?
>
> Thanks in advance!
> Scott
>
>
> <http://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin>
>
> --
> 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 <javascript:_e({},
> 'cvml', 'jenkinsci-users%2bunsubscr...@googlegroups.com');>.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to