Log Tail
tail_build_logRetrieve the last N lines of a build log to quickly diagnose build failures. Use as the first step in failure investigation, more efficient than full summary.
Instructions
Get the last N lines of a build log — fastest way to see why a build failed.
More token-efficient than get_build_log(mode="summary") when you just need the tail. Use this as the first step when investigating failures.
Args: uuid: Build UUID tenant: Tenant name (uses default if empty) lines: Number of lines from the end (default 50, max 500) log_name: Log file to read (default "job-output.txt") url: Zuul build URL (alternative to uuid + tenant) skip_postrun: Skip post-run log collection lines and tail from the end of the run phase instead (default true). Only applies to job-output.txt. Set false to see raw tail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| uuid | No | ||
| lines | No | ||
| tenant | No | ||
| log_name | No | job-output.txt | |
| skip_postrun | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |