diff --git a/e2e/_suites/fleet/services.go b/e2e/_suites/fleet/services.go index 571343883d..9a56aecf5f 100644 --- a/e2e/_suites/fleet/services.go +++ b/e2e/_suites/fleet/services.go @@ -198,7 +198,7 @@ func downloadAgentBinary(artifact string, version string, OS string, arch string // We will use the snapshots produced by Beats CI bucket := "beats-ci-artifacts" - object := fmt.Sprintf("snapshots/%s", fileName) + object := fmt.Sprintf("snapshots/%s/%s", artifact, fileName) // we are setting a version from a pull request: the version of the artifact will be kept as the base one // i.e. /pull-requests/pr-21100/elastic-agent/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm