问题原文
原帖链接 · Hedam · CC BY-SA 3.0
The Google Cloud Container Builder API documentation says that you are able to set the timeout through the API.
Our build are triggered by webhooks, meaning that the API is irellevant for us. Is there a way to set the build timeout on automatically triggered builds?
已采纳解答
原帖链接 · Adam · CC BY-SA 3.0
For build triggers, you can specify the same parameters as a build resource in your cloudbuild.yaml, which includes the timeout parameter. For example:
steps:
- name: 'ubuntu'
args: ['./binary', 'rawdata.tgz']
timeout: 1200s
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
