search_log
Search Jenkins build logs for a regex pattern to pinpoint error messages or specific events, returning matching lines with surrounding context for faster debugging.
Instructions
Search build log for pattern and return matching lines with context
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Full job name | |
| number | No | Build number or 'last' | last |
| pattern | Yes | Regex pattern to search for | |
| window_lines | No | Lines of context before/after match | |
| max_bytes | No | Maximum bytes to search |