Jenkins Job Insight
A containerized webhook service that analyzes Jenkins job failures, classifies them as code issues or product bugs, and provides actionable suggestions. This service operates without a UI, receiving requests via webhooks and delivering results through callbacks.What it does
Jenkins Job Insight uses AI to analyze failed Jenkins builds and determine whether failures are caused by:- Code issues: Problems in test code such as incorrect assertions, setup issues, or flaky tests
- Product bugs: Actual bugs in the product being tested that the tests correctly identified
Key capabilities
AI-powered classification
Automatically distinguishes between test code issues and product bugs using Claude, Gemini, or Cursor AI providers
Async and sync modes
Submit jobs for background processing or wait for immediate results via REST API
Jira integration
Searches Jira for matching bugs on product failures with AI-powered relevance filtering to avoid duplicates
HTML reports
Generate self-contained, dark-themed HTML failure reports viewable in any browser
Direct failure analysis
Analyze raw test failures without Jenkins via
/analyze-failures endpointJUnit XML enrichment
Enrich JUnit XML reports with AI analysis via pytest plugin or raw XML API
How it works
Classify failures
AI determines if each failure is a code issue or product bug with detailed explanations
Search Jira (optional)
For product bugs, search Jira for existing matching issues to avoid duplicates
Analysis output example
When you submit a failed Jenkins build for analysis, you receive structured results like this:The service is tied to a single Jenkins instance via the
JENKINS_URL environment variable. All API requests specify only the job name and build number.Next steps
Quick start
Get analyzing Jenkins failures in under 5 minutes
Docker setup
Complete Docker installation and configuration guide