MultiBranch管道github webhook [英] MultiBranch pipeline github webhook

查看:125
本文介绍了MultiBranch管道github webhook的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题几乎说明了一切.我看过这些:

Title pretty much says it all. I've seen these:

如何使用github webhook触发Multibranch Pipeline构建
https://support.cloudbees.com/hc/zh-cn/articles/224543927-GitHub-webhook-configuration
https://support.cloudbees.com/hc/en-us/articles/115003019232-GitHub-Webhook-Pipeline-Multibranch

How to trigger Multibranch Pipeline build with github webhook
https://support.cloudbees.com/hc/en-us/articles/224543927-GitHub-webhook-configuration
https://support.cloudbees.com/hc/en-us/articles/115003019232-GitHub-Webhook-Pipeline-Multibranch

我在jenkins中安装了github服务器,但是无法在多分支源中选择它(如链接之一所示),它要求提供凭据,但下拉列表中没有凭据.

I have a github server setup in jenkins, but cannot choose it in the multibranch source (as one of the links suggests), it asks for credentials but no credentials are in the dropdown.

我还设置了一个github webhook,但我认为它没有任何作用

I've also setup a github webhook, but I dont think it makes any difference

推荐答案

我需要创建用户名等于用户名且密码等于github令牌的凭据

I needed to create credentials with username equals to username and password equals to the github token

这篇关于MultiBranch管道github webhook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆