Hello,
On 12/15/2016 9:42 AM, prakash damodaran wrote:
Hi,

I am facing authentication issue with GitHub and Jenkins. We have setup
a 2 factor authentication in GITHUB, So I am facing issue on setting up
authentication with it. Any leads on it would be great!

Current I am getting the below error when I provide the username and
Password of GitHub. Is there anything else I need to take care of.

stderr: github --credentials get: github: command not found
github --credentials erase: github: command not found
remote: Invalid username or password.
fatal: Authentication failed for "Github repository URL"

Thanks,
Prakash

You'll need to install the github package. They offer their own cli service. This will require googling to figure out how to get it for your specific platform. Also note that 2fa authentication is not going to make your jenkins jobs any easier and there's not really a workaround to 2fa. You'll have to accept the authentication each time Jenkins tries to authenticate. There may be workarounds, but it's going to get messy.



--
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/0831d947-931a-4608-acd3-36dff4217fee%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/0831d947-931a-4608-acd3-36dff4217fee%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.


--
Take care,
Ty
Twitter: @sorressean
Web: https://tysdomain.com
Pubkey: https://tysdomain.com/files/pubkey.asc

--
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/ff5736d4-0b25-6149-43f8-d241ff22f281%40tysdomain.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to