<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: kishore nbm</title>
    <description>The latest articles on DEV Community by kishore nbm (@kishore_nbm_14e1268dca88c).</description>
    <link>https://dev.to/kishore_nbm_14e1268dca88c</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3264765%2Fffc95bec-9239-466c-b9d3-c2b090f1753f.jpg</url>
      <title>DEV Community: kishore nbm</title>
      <link>https://dev.to/kishore_nbm_14e1268dca88c</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kishore_nbm_14e1268dca88c"/>
    <language>en</language>
    <item>
      <title>AI-Powered CI/CD Log Analyzer for Jenkins Using Ollama + Streamlit</title>
      <dc:creator>kishore nbm</dc:creator>
      <pubDate>Sat, 14 Jun 2025 06:01:04 +0000</pubDate>
      <link>https://dev.to/kishore_nbm_14e1268dca88c/ai-powered-cicd-log-analyzer-for-jenkins-using-ollama-streamlit-3dp0</link>
      <guid>https://dev.to/kishore_nbm_14e1268dca88c/ai-powered-cicd-log-analyzer-for-jenkins-using-ollama-streamlit-3dp0</guid>
      <description>&lt;h1&gt;
  
  
  How I Built an Offline
&lt;/h1&gt;

&lt;p&gt;Managing CI/CD pipelines is tough — and debugging failed builds can be even tougher when you're staring at thousands of lines of Jenkins logs.&lt;/p&gt;

&lt;p&gt;So I built a tool that:&lt;br&gt;
✅ Uses a &lt;strong&gt;local LLM (via Ollama)&lt;/strong&gt; to analyze logs&lt;br&gt;&lt;br&gt;
✅ Runs entirely offline (no cloud, no API keys)&lt;br&gt;&lt;br&gt;
✅ Shows AI-generated &lt;strong&gt;error summaries and suggestions&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
✅ Displays output in a &lt;strong&gt;Streamlit dashboard&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🧠 Why I Built It
&lt;/h2&gt;

&lt;p&gt;I was tired of spending hours digging through Jenkins logs to find the root cause of build failures. Tools like OpenAI or Datadog are great — but they require internet, cloud access, and API costs.&lt;/p&gt;

&lt;p&gt;So I thought: &lt;strong&gt;what if I could run an LLM completely offline&lt;/strong&gt; to analyze logs, on-demand, during or after a pipeline run?&lt;/p&gt;




&lt;h2&gt;
  
  
  ⚙️ Stack Used
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🧠 &lt;strong&gt;Ollama&lt;/strong&gt; – local LLM runtime&lt;/li&gt;
&lt;li&gt;🐍 &lt;strong&gt;Python&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;📊 &lt;strong&gt;Streamlit&lt;/strong&gt; – simple frontend for log visualization&lt;/li&gt;
&lt;li&gt;⚙️ &lt;strong&gt;Jenkins&lt;/strong&gt; – CI/CD system&lt;/li&gt;
&lt;li&gt;🐳 Optional: Dockerized setup for portability&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🚀 How It Works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Jenkins runs your pipeline and stores logs&lt;/li&gt;
&lt;li&gt;The Python script reads the log file&lt;/li&gt;
&lt;li&gt;It feeds the log to the local LLM via Ollama&lt;/li&gt;
&lt;li&gt;The model returns an &lt;strong&gt;analysis:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Errors &amp;amp; warnings&lt;/li&gt;
&lt;li&gt;Root cause summary&lt;/li&gt;
&lt;li&gt;Suggestions&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Streamlit displays all of this in a clean UI&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft6dvd4xnm3623weulzii.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft6dvd4xnm3623weulzii.png" alt="Image description" width="800" height="368"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🔗 Want to Try It?
&lt;/h2&gt;

&lt;p&gt;I’m offering the tool on Gumroad for early users:&lt;br&gt;
👉 &lt;a href="https://kishorecraft33.gumroad.com/l/uxqlle" rel="noopener noreferrer"&gt;CI/CD Log Analyzer – Gumroad&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can run it entirely offline on your own machine.&lt;/p&gt;




&lt;h2&gt;
  
  
  💬 Open to Feedback!
&lt;/h2&gt;

&lt;p&gt;If you're in DevOps, working with Jenkins, or just curious about LLM-powered automation, I’d love to hear what you think — suggestions, criticism, or feature ideas.&lt;/p&gt;

&lt;p&gt;Happy debugging!&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
