Have you tried configuring your git executable to be "git" rather than "/usr/bin/git"? That's what I've used in multi-platform environments and it has worked well for me.
Mark Waite On Wed, Jul 27, 2016 at 1:57 PM Nigel Magnay <[email protected]> wrote: > In a bitbucket-sourced multibranch repository, I need to ensure the git > checkout doesn't occur with /usr/bin/git, but with a tool that stands a > chance of executing on Windows. > > I had rather hoped it would simply be the case of doing > > scm.gitTool = 'win git'; > > before my > checkout scm > > But it still seems to insist on using the wrong binary (even though there > appears to be a setter, as I had to approve it in the script console). > > What have I missed? > > > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CAPYP83SpLOHmoJBupi6Q0QV6TDjKOf9EYtbXrtj3NZ0L9f1PTg%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAPYP83SpLOHmoJBupi6Q0QV6TDjKOf9EYtbXrtj3NZ0L9f1PTg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtG8AdnRuA8LX3xSgkpD7p9jepaec%2BjxmaLg7TRZLaBi8A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
