From 4833f500d5175d201d993d2c6b8b3aeb1aea112b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Fri, 27 Jun 2025 14:04:41 +0200 Subject: [PATCH] include the pipeline ID in windows packages path (#1601) --- components/datadog/agent/package.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/datadog/agent/package.go b/components/datadog/agent/package.go index 0c7089f6a..8531dad30 100644 --- a/components/datadog/agent/package.go +++ b/components/datadog/agent/package.go @@ -59,6 +59,9 @@ func GetPackagePath(localPath string, flavor tifos.Flavor, agentFlavor string, a if pathInfo.IsDir() { packagePath = path.Join(packagePath, subFolder) packagePath = path.Join(packagePath, "pkg") + if flavor == tifos.WindowsServer { + packagePath = path.Join(packagePath, "pipeline-"+pipelineID) + } entries, err := os.ReadDir(packagePath) if err != nil { return "", err