When using the hudson git plugin with https, how to I specify a password?
To connect to a Git repository with authentication over HTTP(S), every time it needs to set a username and password. You can configure Git to remember a username and password by storing them in a remote URL or by using Git credential helper.
if $ git config credential. helper returns manager , the password is stored in the windows credential manager, if it returns store , password is stored in a . git-credentials file in the user folder.
The status as of this writing is that you can.
There are at least two ways of doing it:
netrc approach is by default a plain text file. If needed, it can be encrypted as explained in this answer, or just be readable for that one user through permissions.
You can't. It is bug in git plugin, but there is fork that fixes it, see:
http://issues.hudson-ci.org/browse/HUDSON-3807
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With