On Jenkins, While setting up Multibranch setup with "Github" on Jenkins, I get strange error as
Error validating repository information. Credentials ok.
However same credential works for "git" as "Add Source" category but fails for "github" if added as "Add Source". This is actual credential for github and I can login github portal, Not sure what is going on here. Any pointers. Thanks
I faced the same issue. This worked for me : create a Personal Access Token (using the steps described here ), and use your PAT as password in the jenkins credentials branch source. And the github username account (the account you create the PAT with) as username in jenkins.
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