gpt4 book ai didi

linux - 将触发器添加到 Jenkins 管道

转载 作者:太空宇宙 更新时间:2023-11-04 11:45:55 25 4
gpt4 key购买 nike

我想添加这个触发器:“GitHub hook trigger for GITScm polling”到我的管道。有人知道我该怎么做吗?我试图在官方文档中找到但没有成功。

最佳答案

管道语法尚不支持 GitHub 钩子(Hook)触发器。

官方documentation说:

For Pipelines which are integrated with a source such as GitHub or BitBucket, triggers may not be necessary as webhooks-based integration will likely already be present. The triggers currently available are cron, pollSCM and upstream.

因此,目前可以通过 Jenkins UI 的作业配置页面启用它。

关于linux - 将触发器添加到 Jenkins 管道,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57793235/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com