[英]Jenkins Global Pipeline Configuration - GitHub account issue
I have been trying to configure Global Pipeline libraries in Jenkins using GitHub repo, but encountered an issue "invalid account" even though GitHub credentials are correct. 我一直在尝试使用GitHub repo在Jenkins中配置Global Pipeline库,但遇到问题“无效帐户”,即使GitHub凭据是正确的。
Detailed description: 详细说明:
Please find below error code image for reference. 请在下面找到错误代码图片以供参考。
Please help, 请帮忙,
Regards, Srikanth 此致,Srikanth
For an https URL (using a username/password type of credential), do check if the password includes any special character. 对于https URL(使用用户名/密码类型的凭证),请检查密码是否包含任何特殊字符。
If it does, you might need to percent encode them . 如果是,您可能需要对它们进行百分比编码 。
The other possibility is if your account has 2FA (two factor authentication) activated. 另一种可能性是您的帐户激活了2FA(双因素身份验证) 。
If it does, the password should be a PTA (Personnal Token Access) , not your actual account password. 如果是,则密码应为PTA(Personnal Token Access) ,而不是您的实际帐户密码。
Third possibility (from the chat): there is a proxy. 第三种可能性(来自聊天):有一个代理。
So: 所以:
Details: 细节:
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Thank you @VonC for your help. 谢谢@VonC的帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.