Re: Cannot set Git executable using Job DSL

2017-01-16 Thread shaneoh1980 McP
{ > > remote { > > .. > > } > > configure { node -> > > node / gitTool << 'Ubuntu Git' > > } > > } > >… > > } > > > > *From: *shaneoh198

Re: Git cannot read password after upgrading git client plugin from 1.19.6 to 2.1.0

2017-01-06 Thread shaneoh1980 McP
>>>rather than username / password credentials >>>- Change your git account passwords to not use characters which >>>require escaping through the Windows command prompt >>>- Assist with evaluation of the pending git client plugin pull >>>

Re: Cannot set Git executable using Job DSL

2017-01-06 Thread shaneoh1980 McP
I should add that if I create a job using this as a seed job, the default option is still selected. On Friday, 6 January 2017 07:44:12 UTC, shaneoh1980 McP wrote: > > Thanks - but that generates a separate block of XML, with what I want, but > it doesn't apply it to the git scm

Re: Cannot set Git executable using Job DSL

2017-01-05 Thread shaneoh1980 McP
> > configure { project -> > > project / scm(class: ‘hudson.plugins.git.GitSCM’) { > > gitTool ‘Ubuntu Git’ > > } //project > > } //configure > > } //job > > > > > > *Fro

Git cannot read password after upgrading git client plugin from 1.19.6 to 2.1.0

2017-01-05 Thread shaneoh1980 McP
I'm trying to upgrade our Jenkins to 2, but coming accross a problem with git authentication. I've got Git credentials loaded and they currently work, but when I upgrade the plugin from 1.19.6 to 2.1.0, all jobs that use Git for SCM fail with the same error message. As soon as I downgrade the

Cannot set Git executable using Job DSL

2017-01-05 Thread shaneoh1980 McP
I'm converting all of our Jenkins jobs to DSL scripts and I've come accross one where we use a Git executable other than the "default" one. I've spent two days trying to get this to work and no matter what I do it just won't work. I need this in the config.xml which gets generated for the job