加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

Bitbucket 触发内网 Jenkins Build

发布时间:2020-12-15 08:16:34 所属栏目:安全 来源:网络整理
导读:Manage Users 界面中点击 "Create User": Configure Global Security 配置界面,在 Authorization 的配置项中选择 "Matrix-based security",然后把 autobuilder 用户添进来: http: http: $ curl http: http: GatewayPorts yes $ -fN -R :localhost: nick@

Manage Users 界面中点击 "Create User":

Configure Global Security 配置界面,在 Authorization 的配置项中选择 "Matrix-based security",然后把 autobuilder 用户添进来:

http:

http:

$ curl http:

http:

GatewayPorts yes

$ -fN -R :localhost: nick@xxxengine.eastasia.cloudapp.azure.com

Webhooks" 进入 Webhooks 的配置界面。添加一个新的 webhook 配置,并且把我们在前面创建的最终版的 URL 设置其 URL:

Bitbucket 向 xxxengine.eastasia.cloudapp.azure.com 的 端口并且把接收到的请求通过 SSH 隧道发送到内网中 Jenkins 服务器上 localhost 的 端口,并且处理收到的请求。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读