Github 中发生提交时如何在 Go cd 中触发构建

How to trigger a build in Go cd when a commit occurs in Github

我想知道如何在 GoCD 中配置 material 以在链接的 GitHub 帐户上进行提交时触发构建。

您可以关注“Integrating GoCD with GitHub”,它在 GitHub 端使用拉取请求工作流程。

每次 PR 在 GitHub 上完成或更新时,gocd-build-github-pull-requests plugin from Ashwanth Kumar 将启动并构建所述 PR,在所述构建后在 GitHub 上更新其状态。