惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
雷峰网
雷峰网
J
Java Code Geeks
G
Google Developers Blog
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
L
LangChain Blog
人人都是产品经理
人人都是产品经理
GbyAI
GbyAI
Vercel News
Vercel News
S
SegmentFault 最新的问题
Engineering at Meta
Engineering at Meta
H
Hackread – Cybersecurity News, Data Breaches, AI and More
云风的 BLOG
云风的 BLOG
F
Fortinet All Blogs
Y
Y Combinator Blog
博客园_首页
Last Week in AI
Last Week in AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
A
About on SuperTechFans
B
Blog
Microsoft Security Blog
Microsoft Security Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Your Jenkins build failed. Now what?
Srikannan · 2026-06-16 · via DEV Community
Cover image for Your Jenkins build failed. Now what?

Srikannan

A realistic walkthrough of what actually happens next and where teams lose the most time.

Let me describe a scene that happens hundreds of times
a day across engineering teams worldwide.

It's 2:47 PM. A Slack message appears:

"Build failed - backend-service #1847"

What happens next is where things get interesting.


The notification tells you nothing useful

The alert tells you the build failed.
It doesn't tell you:

  • Which stage failed
  • Whether it's a real failure or a flaky test
  • Whether this has happened before
  • Who on the team is best placed to fix it
  • How urgent it actually is

So the first thing every developer does is open Jenkins.


The log problem

A typical Jenkins build log in 2026 is between 2,000
and 15,000 lines long.

It contains:

  • Dependency resolution output (usually 60% of the log)
  • Compilation steps
  • Test output
  • Docker layer pulls
  • The actual error (usually in the last 5%)

The error that caused the failure is almost never
at the top. It's buried. Usually near the bottom.
Often wrapped in a stack trace that points somewhere
misleading.

So the investigation starts with Ctrl+F.

Search for "ERROR". Get 47 matches.
Search for "FAILED". Get 12 matches.
Start reading each one to find the real one.

This process takes between 5 minutes and 2 hours
depending on the failure type.


The repeat investigation problem

Here's what makes this worse.

The same failure often happens multiple times before
anyone fixes the root cause.

A flaky integration test fails on Monday. Developer
re-runs it. It passes. Closed.

It fails again Wednesday. Different developer.
Spends 20 minutes investigating the same thing
the first developer already investigated.
Re-runs it. Passes. Closed.

Fails again Friday.

Nobody connected these three events because Jenkins
doesn't connect them. Each failure is a fresh ticket
with no history.

The total investigation time across three developers:
45 minutes. For one flaky test that nobody fixed.


The notification gap

Most teams have one of three setups:

Setup A: Email when build fails.
Result: developer opens email 3 hours later.
Build has been broken all afternoon.

Setup B: Slack notification with build link.
Result: developer clicks link, opens Jenkins,
reads logs, spends 15-20 min figuring out what happened.

Setup C: PagerDuty for critical pipelines.
Result: someone gets woken up and still has to
read the logs to know what to do.

All three have the same problem.
The notification tells you something broke.
Nothing tells you what to do next.


What actually helps

The teams I've seen handle this well do a few things:

They categorize failures automatically.
Not just pass/fail. They know whether a failure is
a dependency issue, a test failure, an infrastructure
issue, or something else. This alone cuts investigation
time significantly because you know where to look.

They track failure patterns across builds.
A test that fails 3 times in a week is a different
problem than a test that failed once. Teams that
catch patterns early fix things before they become
daily interruptions.

They give developers context before they open Jenkins.
The best failure notifications include a short plain-English
summary of what failed and why not just a link to 10,000
lines of logs.


The question worth asking your team

How long did your team spend last week just reading
Jenkins logs?

Not fixing things. Just reading logs to understand
what happened.

Most teams have never measured this number.
The ones who do are usually surprised.


What does your build failure workflow look like?
Have you found anything that actually reduces
the time between alert and knowing what to do?