Jenkins plugin using chatgpt for build failure analsys

61 views
Skip to first unread message

Michael Nazzareno Trimarchi

unread,
Oct 21, 2024, 12:33:17 PM10/21/24
to jenkin...@googlegroups.com
Hi all

As Amarula Solutions we are working on openai on code-review in gerrit
and we would like to use our knowledge to work on writing a plugin for
jenkins to analyze the build failure reason on request. In order to
proceed this way we will be interested if Cloudbees or other companies
that are using Jenkins in their enterprise to help us or work together
with us in this direction. This idea is in an early stage so I want to
share it already and get some feedback on it.

Hope this message is a value on this mailing list

Michael

--
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
mic...@amarulasolutions.com
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
in...@amarulasolutions.com
www.amarulasolutions.com

Kirk Fitzsimons

unread,
Oct 24, 2024, 12:10:00 PM10/24/24
to Jenkins Developers
Hi,

There is already two plugins that I am aware of that help parse jenkins job logs and identify failures.

https://plugins.jenkins.io/log-parser/
https://plugins.jenkins.io/build-failure-analyzer/

Perhaps you could look at those for inspiration?

I was inspired by your post and spent a few hours trying to create a chatgpt plugin. I have it working, but it is very basic and I have very little experience in the UI side of things.
I am not sure if a chatgpt plugin on its own would be useful, as is... probably not, but it could be extended, and I can see how a combination of chatgpt and a log parser could be very useful.

I haven't published the plugin, but here are a few screenshots.

chatgptGlobalConfig.PNG


chatgptSideView.PNG

chatgptQuestion.PNG

chatgptResponse.PNG

Kirk
Reply all
Reply to author
Forward
0 new messages