Confusion about the timeoutInMinutes value for a task
See original GitHub issueI’ve set the timeoutInMinutes
for a task like so:
- bash: |
$(bin_path)/distribute.py
timeoutInMinutes: 180
displayName: Distribute
Based on the documentation I’ve found here I’d expect this task to be allowed to continue for 180 minutes before being killed. Instead, we are seeing it killed after 60 minutes. As far as I can tell, it’s because the cancel timeout for the phase is set to it’s default 60 minutes. Note: We do not set the timeout for the phase explicitly.
If we need to set the phase timeout to be the sum of the timeouts for all tasks in it, that would be useful to have in the documentation.
If we don’t (which seems like the more sensible solution) then where are we going wrong?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Yaml script for adding timeoutinminutes in Build Pipeline ...
1 Answer. I assume what you confused should be why you have specify timeoutInMinutes as 1200 , and why still facing the error:...
Read more >Azure DevOps timeoutInMinutes is being ignored in YAML ...
The timeoutInMinutes allows a limit to be set for the job execution time. When not specified, the default is 60 minutes. And you...
Read more >Define YAML resources for Azure Pipelines
Learn how to define YAML resources that can be consumed anywhere in your pipelines.
Read more >Yaml script for adding timeoutinminutes ... - appsloveworld.com
I assume what you confused should be why you have specify timeoutInMinutes as 1200 , and why still facing the error: "The job...
Read more >ManualValidation@0 - Manual validation v0 task
You can specify the timeout value for the task using the optional timeoutInMinutes parameter, available in the common task properties. Note.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
i’ll update the docs to clarify the lesser of the two timeouts wins
Related: https://github.com/microsoft/azure-pipelines-yaml/issues/48