更新时间:2017-10-10 21:45
GitHub企业版插件可以帮助CodePipeline用户直接绑定GitHub企业版环境账户,自动列出您的代码仓库及其对应的分支或Tag
创建Github Enterprise OAuth application
Settings -> OAuth Applications -> Register a new application
Application name: demo
Homepage URL: https://cds.console.aliyun.com/#/home
Authorization callback URL: https://ci-codepipeline.cn-beijing.aliyun.com/cds-jenkins-aliyun-com/descriptorByName/hudson.plugins.githubee.GithubSCM/finishEnterpriseOAuth
点击Register application完成注册。
Authorization callback URL参数一定要写对。
查看OAuth application提供的Client ID和Client Secret
返回CodePipeline页面,输入Github企业版环境信息
hostname,client_id, client_secret要严格使用”,”分割
点击绑定Github Enterprise账号完成账号绑定。最后刷新作业配置页面,就可以正确获取用户Github Enterprise环境下的代码库信息。
在文档使用中是否遇到以下问题
更多建议
匿名提交