Batch Job Duration Stats
get_job_durationsFetch average, minimum, and maximum durations for multiple CI jobs in a single call, using parallel build history analysis to monitor pipeline performance.
Instructions
Get avg/min/max duration for multiple jobs in a single call.
Fetches build history per job in parallel. Designed for monitoring tools that need durations for an entire pipeline chain.
Args: job_names: List of job names to get stats for tenant: Tenant (default from env) result: Result filter (default "SUCCESS" for clean averages) limit: Builds per job to analyze (default 10, max 50)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| result | No | SUCCESS | |
| tenant | No | ||
| job_names | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |