get_job_trace
Retrieve GitLab build or test job terminal logs and tail output lines to diagnose failures without overflowing context.
Instructions
Get the terminal output log of a build/test job (supports tailing to diagnose test failures)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Numeric ID of the build or test job | |
| project_id | Yes | Project numeric ID (e.g. 31) or namespace path (e.g. 'group/project-name'). URL-encoding is handled automatically. | |
| tail_lines | Yes | Number of trailing lines from log to return (prevents overflowing context, default: 250, 0 for all) |