Actually, the problem was that Jenkins runs as the Local System account 
instead of Administrator. This meant that I was inserting the credentials 
into the wrong Windows Credentials Store. I updated my Chef code[1] to run 
the credential insertion[2] as the System Account and then it all works 
fine even though the Git plugin is requesting the "store" credential 
helper. What ends up being used is the Git Credentials Manager from 
Microsoft ("manager") which uses the native Windows Credential store.

[1] Prep Windows to be Jenkins Slave 
- http://ftclausen.github.io/general/jenkins_windows_slave_prep_with_chef/
[2] Insert Credentials 
- 
http://ftclausen.github.io/general/windows_-_inserting_git_credentials_ahead_of_time/

On Tuesday, June 28, 2016 at 11:56:18 AM UTC+10, Mark Waite wrote:
>
> Not as far as I know.
>
> On Mon, Jun 27, 2016 at 7:51 PM Fred Clausen <ftcl...@gmail.com 
> <javascript:>> wrote:
>
>> Hello All,
>>
>> The Git for Windows distribution no longer uses the "store" or "winstore" 
>> credential store so credentials in the form of a username/password pair 
>> cannot be read from a file. I have found a way 
>> <https://github.com/Microsoft/Git-Credential-Manager-for-Windows/issues/230> 
>> to 
>> pre-populate the Windows Credentials Manager with the Git credentials which 
>> means Git clone operations can take place non-interactively. 
>>
>> However this is not quite enough because the Git plugin for Jenkins wants 
>> to use the "store" credential helper. Is there a way to tell it to use the 
>> Git Credential Manager ("manager")?
>>
>> Thanks,
>>
>> Fred.
>>
>> -- 
>> 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-use...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/66889a03-4cce-4555-88a0-9273d6b8515d%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/66889a03-4cce-4555-88a0-9273d6b8515d%40googlegroups.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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1354ab50-8c0e-4160-8f4a-68ce422d54c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to