Eri*_* H. 7 github jenkins two-factor-authentication
我的Github帐户启用了两个因子授权(2fa).我想将Jenkins与我的一些私有存储库集成,但我无法授权它们因为我启用了2fa.请注意,这是一个多分支管道项目.
Eri*_* H. 17
谁会想到点击帮助按钮?
Credentials used to scan branches and pull requests, check out sources and mark commit statuses.
If none is given, only the public repositories will be scanned, and commit status will not be set on GitHub.
If your organization contains private repositories, then you need to specify a credential from an user who have access to those repositories.
This is done by creating a "username with password" credential where the password is GitHub personal access tokens. The necessary scope is "repo"
Run Code Online (Sandbox Code Playgroud)
即使用Jenkins凭证的用户名/密码时,使用Github个人访问令牌作为密码.
| 归档时间: |
|
| 查看次数: |
6444 次 |
| 最近记录: |