A modern, production-ready web application for monitoring Jenkins CI/CD pipelines with intelligent failure analysis.
- Python 3.9+
- Node.js 16+
- MongoDB 5.0+
# 1. Backend Setup
cd backend
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
# 2. Frontend Setup (in new terminal)
cd frontend
yarn install
# 3. Start MongoDB
mongod # Or: docker run -p 27017:27017 mongo:6.0
# 4. Run Backend (in first terminal)
cd backend
python server.py
# Server runs on http://localhost:8001
# 5. Run Frontend (in second terminal)
cd frontend
yarn start
# App opens at http://localhost:3000π For detailed installation instructions, see INSTALLATION_GUIDE.md
- Real-time Monitoring: Live status of all Jenkins pipelines
- Hierarchical Tree View: Views β Sub-views β Pipelines β Stages
- Auto-Expand Failures: Instantly see what broke
- Multi-Server Support: Monitor multiple Jenkins instances
- Global Search: Find jobs across all servers instantly
- Automatic Classification: IT Infra / CI/CD Infra / Code-Related
- Root Cause Detection: AI explains what went wrong
- Confidence Scoring: See how sure the AI is (0-100%)
- Actionable Recommendations: Get specific steps to fix issues
- Team Assignment: Suggests which team should handle the failure
- Selective View Monitoring: Choose specific views/sub-views to display
- Hierarchical Selection: Pick any level in the Jenkins tree
- One-Click Reset: "Clear All Filters" for instant full view
- Parent Chain Inclusion: Selected views show with full context
- Automatic Alerts: Red banner when all jobs in a view fail
- View-Level Analysis: See which releases are completely down
- Critical Severity: Animated warnings for immediate attention
- Jenkins Server Management: Add/Edit/Delete servers
- Polling Configuration: Customize refresh intervals
- View Selection UI: Visual tree for choosing monitored views
- Credential Management: Secure API token storage
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Frontend (React) β
β - Dashboard UI with Accordion Tree View β
β - Real-time updates every 30s β
β - Framer Motion animations β
β - Tailwind CSS + Custom Tactical Obsidian theme β
ββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β REST API
ββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββ
β Backend (FastAPI) β
β - Jenkins API Integration β
β - Mock data for testing β
β - AI failure analysis (OpenAI GPT-5.2) β
β - View filtering & hierarchy builder β
ββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β Motor (async driver)
ββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββ
β Database (MongoDB) β
β - jenkins_servers collection β
β - job_nodes collection (hierarchical) β
β - failure_analyses collection β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
jenkins-observability-console/
βββ backend/
β βββ server.py # FastAPI main application
β βββ requirements.txt # Python dependencies
β βββ .env # Backend configuration
βββ frontend/
β βββ src/
β β βββ pages/
β β β βββ Dashboard.jsx # Main dashboard
β β β βββ Settings.jsx # Configuration UI
β β βββ components/
β β β βββ AccordionTreeView.jsx
β β β βββ FailurePanel.jsx
β β β βββ StatusBadge.jsx
β β β βββ ViewSelectionTree.jsx
β β βββ App.js
β β βββ index.css # Tailwind + custom styles
β βββ package.json
β βββ .env # Frontend configuration
βββ INSTALLATION_GUIDE.md # Detailed setup instructions
βββ README.md # This file
MONGO_URL=mongodb://localhost:27017
DB_NAME=jenkins_observability
CORS_ORIGINS=*
EMERGENT_LLM_KEY=your-api-key-here # Optional: for AI featuresREACT_APP_BACKEND_URL=http://localhost:8001
WDS_SOCKET_PORT=0
ENABLE_HEALTH_CHECK=falseGET /api/jenkins-servers- List all serversPOST /api/jenkins-servers- Add new serverPUT /api/jenkins-servers/{id}- Update serverDELETE /api/jenkins-servers/{id}- Remove server
GET /api/jenkins-servers/{id}/tree- Get job hierarchyGET /api/jenkins-servers/{id}/available-views- List all viewsPUT /api/jenkins-servers/{id}/monitored-views- Update view filtersGET /api/jenkins-servers/{id}/outage-status- Check for major outages
GET /api/failures/{job_id}- Get failure analysisPOST /api/analyze-failure- Trigger AI analysisGET /api/health-summary- Global health metricsGET /api/search?q={query}- Search jobs
- FastAPI - Modern Python web framework
- Motor - Async MongoDB driver
- Pydantic - Data validation
- emergentintegrations - AI integration library (OpenAI GPT-5.2)
- React 18 - UI library
- Framer Motion - Animations
- Tailwind CSS - Styling
- Axios - HTTP client
- React Router - Navigation
- Sonner - Toast notifications
- Lucide React - Icons
- MongoDB - Document database for flexible hierarchical data
The application includes pre-configured mock data:
- 2 Jenkins Servers: Jenkins-Prod, Jenkins-Stage
- Multiple Views: Release 24.1 with Core Services and Frontend Apps
- Sample Pipelines: User Authentication, Payment Service, Web Application
- Various Statuses: Success, Failure, Unstable, Running
- Pre-analyzed Failures: AI analysis examples included
Perfect for testing and demonstration without connecting to real Jenkins!
β
Mock data enabled
β
CORS set to *
β
Verbose logging
β
Hot reload enabled
python server.py # Backend
yarn start # Frontenddocker-compose up -d- Emergent Cloud: One-click deployment
- Docker Swarm: Container orchestration
- Kubernetes: Scalable cloud deployment
- Traditional Servers: Nginx + Gunicorn + PM2
See INSTALLATION_GUIDE.md for detailed deployment instructions.
- Tree Virtualization: Handles 1000+ nodes smoothly
- Caching: Reduces Jenkins API load
- Async Operations: Non-blocking database queries
- Optimized Renders: React memo and useCallback
- Debounced Search: Smooth search experience
Common issues and solutions in INSTALLATION_GUIDE.md
Quick Checks:
# Backend health
curl http://localhost:8001/api/
# Frontend running
curl http://localhost:3000
# MongoDB connection
mongosh --eval "db.version()"Built with Emergent AI Platform
This is a generated application. To modify:
- Make changes locally
- Test thoroughly
- Update documentation
- Consider edge cases
- Installation Issues: See INSTALLATION_GUIDE.md
- Application Bugs: Check browser console and backend logs
- Feature Requests: Document requirements clearly
Built with β€οΈ using Emergent AI Platform