Skip to main content
  1. Posts/

Jenkins Explain Error Plugin Now Supports Google Gemini! 🤖

·310 words·1 min· ·
Xianpeng Shen
Author
Xianpeng Shen
Table of Contents

Last week I released the Jenkins Explain Error Plugin, aiming to help Jenkins users analyze and resolve errors in Jenkins builds faster through built-in AI.

Some readers mentioned in the comments that they hoped the plugin would support the Google Gemini model for error analysis, as their company can only use Google’s AI services.

Today, I’m excited to announce that the plugin now supports the Google Gemini model! 🎉

Plugin Updates
#

  • Added support for the Google Gemini model.
  • Optimized documentation and added an example video.

How to Use Google Gemini
#

Before you begin, ensure the plugin is updated to the latest version. You can find the Explain Error Plugin in the Jenkins Plugin Manager and upgrade it to the latest version.

After updating, you can choose to use the Google Gemini model for error analysis in the plugin configuration. Simply set the model to Google Gemini in the Explain Error Plugin Configuration section under Manage Jenkins → Configure System, and provide the corresponding API address and key.

Explain Error Plugin Configuration

Click Test Configuration to ensure your Google Gemini API Key, URL, and Model are correctly filled in and accessible.

Example Plugin Video
#

Considering that many users may not be familiar with using the plugin, I’ve recorded a short video demonstrating how to use the Explain Error Plugin for error analysis in Jenkins.

You can watch this video on YouTube.

Conclusion
#

If you have any questions or suggestions during use, please submit an issue on GitHub or leave a comment.

Repository address: jenkinsci/explain-error-plugin

Welcome to Star ⭐️ and support!


Please indicate the author and source when reprinting this article, and do not use it for any commercial purposes. Welcome to follow the WeChat official account “DevOps攻城狮”.

Related

Jenkins Plugin Center Didn't Have an AI Plugin Yet? I Wrote One! 🤖
·751 words·2 mins
Introducing my first Jenkins plugin: Explain Error Plugin. It automatically analyzes build failure log information and generates readable error explanations, helping developers locate and solve problems faster.
Jenkins Multibranch Pipeline
·405 words·2 mins
Discusses the use of Jenkins Multibranch Pipeline to manage multiple branches in a project, enabling parallel builds for pull requests and efficient code review processes.
Jenkins Linux agent configuration
·298 words·2 mins
Provides a step-by-step guide on how to configure a Jenkins Linux agent, including setting up the Java runtime, creating the node, and troubleshooting common issues.
Jenkins Windows agent configuration
·544 words·3 mins
Provides a step-by-step guide on how to configure a Jenkins Windows agent, including setting up the Java runtime, creating the node, and troubleshooting common issues.
How to Fix Shields.io Badges Not Displaying in Jenkins
·218 words·2 mins
How to temporarily fix it via the Script Console, and how to make it permanent by modifying Jenkins startup parameters. This method is suitable for internal Jenkins environments and has been tested on modern Jenkins installations.
How to Change abortPrevious Value in Jenkins?
·418 words·2 mins
In Jenkins, the disableConcurrentBuilds option is used to manage concurrent builds. This article explains how to conditionally set the abortPrevious value based on the branch being built, allowing for more flexible build management.