From 6ae9e8b07ef404515a18954ec136eaf30616f481 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 9 Feb 2022 14:56:59 +0000 Subject: [PATCH] ci: home is declared within withBeatsEnv --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 02e14e6b0d12..2c7af5bdc1fb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -301,9 +301,9 @@ def k8sTest(Map args = [:]) { versions.each{ v -> withNode(labels: args.label, forceWorkspace: true){ stage("${args.context} ${v}"){ - withKindEnv(k8sVersion: "${v}", kindVersion: "v0.11.1"){ - withGithubNotify(context: "${args.context} ${v}") { - withBeatsEnv(archive: false, withModule: false) { + withGithubNotify(context: "${args.context} ${v}") { + withBeatsEnv(archive: false, withModule: false) { + withKindEnv(k8sVersion: "${v}", kindVersion: "v0.11.1"){ sh(label: "Integration tests", script: "MODULE=kubernetes make -C metricbeat integration-tests") sh(label: "Deploy to kubernetes",script: "make -C deploy/kubernetes test") }