---
url: /en/build/timeout.md
---
In Cloud Native Build, each pipeline or job has a maximum execution time limit. If exceeded, it will automatically terminate.

## Pipeline Timeout

The maximum execution time for a pipeline is `20 hours`. After `20 hours`, the pipeline container will be automatically destroyed.

## Job Timeout

### No Output Timeout

By default, if a `Job` has no output in its stream for `10 minutes` continuously, it will trigger a timeout.
If the [timeout](./grammar.md#timeout) parameter is declared,
the no-output timeout duration will be changed to match the `timeout` value, same as the job timeout duration.

### Maximum Timeout Duration

By default, if a `Job` execution exceeds `1 hour`, it will trigger the timeout logic.
If the [timeout](./grammar.md#timeout) parameter is declared,
the timeout duration will be changed to the `timeout` value, but cannot exceed `12 hours` maximum.
