The host it builds on is not under my control. Is manipulating fields in scm not supposed to work?
On Thursday, 28 July 2016, nicolas de loof <[email protected]> wrote: > Any reason you don't set git in default path ? Would be so simpler ;) > Le 27 juil. 2016 10:56 PM, "Nigel Magnay" <[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>> a écrit : > >> No, as it's not on the path so would not be found. >> >> Oddly, if I do >> scm.gitTool = 'win git' >> echo scm.gitTool >> >> it responds with 'null' - so something is odd in the field setter :-/ >> >> >> On Wed, Jul 27, 2016 at 9:53 PM, Mark Waite <[email protected] >> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: >> >>> 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] >>> <javascript:_e(%7B%7D,'cvml','[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] >>>> <javascript:_e(%7B%7D,'cvml','jenkinsci-users%[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] >>> <javascript:_e(%7B%7D,'cvml','jenkinsci-users%[email protected]');> >>> . >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtG8AdnRuA8LX3xSgkpD7p9jepaec%2BjxmaLg7TRZLaBi8A%40mail.gmail.com >>> <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtG8AdnRuA8LX3xSgkpD7p9jepaec%2BjxmaLg7TRZLaBi8A%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] >> <javascript:_e(%7B%7D,'cvml','jenkinsci-users%[email protected]');> >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/CAPYP83Qxg3RtukcGLL8Ouf43x3VpJmaUS0nr0zsZhFkM1Yr7Yg%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-users/CAPYP83Qxg3RtukcGLL8Ouf43x3VpJmaUS0nr0zsZhFkM1Yr7Yg%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] > <javascript:_e(%7B%7D,'cvml','jenkinsci-users%[email protected]');> > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CANMVJz%3DZceaH3FQZ4B6oXuUaHVtLXTqTjaQjC1ra83Zbgx561A%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CANMVJz%3DZceaH3FQZ4B6oXuUaHVtLXTqTjaQjC1ra83Zbgx561A%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/CAPYP83QHnJeOnUcLhmqa6xkDLXF0_%2BCzY7tz11ma6iXLRrDgbg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
