| name | jenkins |
| id | jenkins |
| description | Jenkins CI/CD integration for investigating builds, deployments, pipeline stages, and test results during RCA |
| category | cicd |
| connection_check | {"method":"get_token_data","provider_key":"jenkins","required_field":"base_url"} |
| tools | ["jenkins_rca"] |
| index | CI/CD -- investigate Jenkins builds, deployments, pipeline stages, logs, test results, OTel traces |
| rca_priority | 4 |
| allowed-tools | jenkins_rca |
| metadata | {"author":"aurora","version":"1.0"} |
Jenkins Integration
Overview
Jenkins CI/CD integration for investigating builds and deployments during Root Cause Analysis.
Uses three Jenkins APIs: Core REST API, Pipeline REST API (wfapi), and Blue Ocean REST API.
Instructions
Tool: jenkins_rca
Unified Jenkins CI/CD investigation tool for Root Cause Analysis.
Actions:
recent_deployments -- Query stored deployment events; optional service filter and time_window_hours
build_detail -- Core API: SCM revision, changeSets, build causes, parameters. Requires job_path + build_number
pipeline_stages -- wfapi: stage-level breakdown with status and timing. Requires job_path + build_number
stage_log -- wfapi: per-stage log output for a specific node_id. Requires job_path + build_number + node_id
build_logs -- Core API: console output, truncated to ~1MB. Requires job_path + build_number
test_results -- Core API: test report with failure details. Requires job_path + build_number
blue_ocean_run -- Blue Ocean API: run data with changeSet and commit info. Requires pipeline_name + run_number
blue_ocean_steps -- Blue Ocean API: step-level detail for a pipeline node. Requires pipeline_name + run_number
trace_context -- Extract OTel W3C Trace Context; params: deployment_event_id or job_path + build_number
Required params vary by action: job_path + build_number for Core/wfapi, pipeline_name + run_number for Blue Ocean. service is optional for recent_deployments.
RCA Investigation Flow
Recent deployments are a leading indicator of root cause. Always check if a deployment occurred shortly before the alert fired.