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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...