All Apps and Add-ons

Why is the Splunk App For Jenkins showing builds as InProgress, even when it is complete?

rpalaniappan
New Member

Splunk App For Jenkins shows jobs as InProgress, even when it is complete.

Here is the version of Jenkins and Splunk plugin that we use:
Jenkins Version: Jenkins ver. 1.642.18.1 (CloudBees Jenkins Enterprise 15.11)
Splunk Plugin: 1.6.4

Splunk Dashboard showing the job as running for 3 days: https://pasteboard.co/H9NQPI4.png
Jenkins UI showing the same build is completed https://pasteboard.co/H9NR1Uh.png

0 Karma

premraj_vs
Path Finder

@rpalaniappan , Can you share the jenkins plugin with me. I am using the latest version but i am not seeing any data in splunk. Also, can you share the metadata that you are using in jenkins configure page.

0 Karma

orraugu
New Member

This isn't really an answer, but possibly an explanation that could help.

After you search for your job under Build Analysis, click "Open in Search" to view the search used. Remove the "Slave='*'" option from the search and tell me what status is returned.

I'm having a similar problem. I'm finding the event_tag for my "job event" doesn't include a node (or in your case a slave) so Splunk filters out the incoming "completed" job event since it doesn't have a node associated with it. After removing the need for a node to be included, it picks up the "completed" event and marks the build as a completed as it should.

I'm still not sure why this is, but I'm curious if others are having similar issues. Your issue may be similar in nature where the event_tags being sent aren't including a required property that Splunk expects to see because it isn't included in the "completed" event sent to Splunk.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...