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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...