From 9e730416869b487dbdebab55bfa854dda73c5a4c 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 22090d156b7..584ece0f16f 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") }