参考 https://docs.openshift.org/latest/dev_guide/builds/triggering_builds.html

 

oc set triggers bc <name> --from-github --remove

oc set triggers bc <name> --from-bitbucket

oc describe bc <name>

此时只需要从 buildConfig 栏目中获取 bitbucket-token,将上一命令里的 webhook url 地址结合 token, 填入 自己的 bitbucket 项目上。

相关文章:

  • 2021-12-23
  • 2022-12-23
  • 2022-01-16
  • 2022-12-23
  • 2021-12-15
  • 2021-10-28
  • 2021-09-16
  • 2021-11-28
猜你喜欢
  • 2022-12-23
  • 2021-04-29
  • 2022-03-05
  • 2022-12-23
  • 2022-01-25
  • 2021-11-01
  • 2022-12-23
相关资源
相似解决方案