fetch_build_log
Retrieve paginated build logs from TeamCity to analyze CI/CD pipeline execution details and troubleshoot issues efficiently.
Instructions
Fetch build log with pagination (by lines)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
buildId | No | Build ID (TeamCity internal id) | |
buildNumber | No | Human build number (e.g., 54). If provided, optionally include buildTypeId to disambiguate. | |
buildTypeId | No | Optional build type ID to disambiguate buildNumber | |
lineCount | No | Max lines to return (overrides pageSize) | |
page | No | 1-based page number | |
pageSize | No | Lines per page (default 500) | |
startLine | No | 0-based start line (overrides page) | |
tail | No | Tail mode: return last N lines |