Bitbucket has made managing step execution time more flexible with the max-time property
options:
max-time: 60 # global
pipelines:
default:
- step:
name: Sleeping step
script:
- sleep 120m # This step will timeout after 60 minutes
- step:
name: quick step
max-time: 5 # per step
script:
- sleep 120m # This step will timeout after 5 minutes
max-time can be set up to 720 minutes