From 19d01b35ca86b22c5651747b69bde8b3e469435a Mon Sep 17 00:00:00 2001 From: Sarah Witt Date: Wed, 26 Jun 2024 10:47:07 -0400 Subject: [PATCH] Add more logging around unknown job tags --- .../plugins/datadog/publishers/DatadogQueuePublisher.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/datadog/jenkins/plugins/datadog/publishers/DatadogQueuePublisher.java b/src/main/java/org/datadog/jenkins/plugins/datadog/publishers/DatadogQueuePublisher.java index 3636ddee..d4afd5d2 100644 --- a/src/main/java/org/datadog/jenkins/plugins/datadog/publishers/DatadogQueuePublisher.java +++ b/src/main/java/org/datadog/jenkins/plugins/datadog/publishers/DatadogQueuePublisher.java @@ -147,6 +147,7 @@ private static String getJobName(Task task) { WorkflowJob workflowJob = (WorkflowJob) task; return workflowJob.getFullName(); } + logger.info(String.format("Unknown job found: %s; %s", task.getName(), task.getDisplayName())); return "unknown"; } }