英文:
How to disable running builds on commit for a gitrepo resource
问题
我有一个git仓库资源,但我不想在每次提交到这个仓库时触发运行。有没有办法实现这个?
英文:
I have a git repo resource, but I don't want to trigger run on every commit into this repository. is there anyway I can achieve this?
答案1
得分: 1
我们应该在这里禁用“buildOn Commit”。例如,
- name: my_app_repo
type: GitRepo
configuration:
gitProvider: my_github
path: myuser/repo-name
branches:
include: master
buildOn:
commit: false
英文:
We should disable buildOn Commit here. for example,
- name: my_app_repo
type: GitRepo
configuration:
gitProvider: my_github
path: myuser/repo-name
branches:
include: master
buildOn:
commit: false
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论