Skip to main content
  1. Posts/

Jenkins Explain Error Plugin Now Supports Google Gemini! 🤖

·304 words·1 min· ·
Table of Contents
Explain Error Plugin - This article is part of a series.
Part 2: This Article

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 “沈显鹏”.

Xianpeng Shen
Author
Xianpeng Shen
Engineer. Builder. Maintainer.
Explain Error Plugin - This article is part of a series.
Part 2: This Article

Related

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.

What Optimizations I Made During the Jenkins Upgrade

·481 words·3 mins
This article discusses the optimizations made during the Jenkins upgrade, including using Docker Compose for deployment, refactoring the Jenkins Shared Library, introducing Windows Docker Containers, and more to enhance the efficiency and security of the CI/CD process.