From 60ab052878afc831639f9411280d08550525c2a0 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 14 Sep 2022 16:37:11 +0100 Subject: [PATCH] ci: force GO_VERSION --- .ci/Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/Jenkinsfile b/.ci/Jenkinsfile index 9fb7021784a..c374bfeb0ef 100644 --- a/.ci/Jenkinsfile +++ b/.ci/Jenkinsfile @@ -61,6 +61,8 @@ pipeline { setEnvVar('K8S_CHANGES', isGitRegionMatch(patterns: [ '(^deploy/kubernetes/.*|^version/docs/version.asciidoc|.ci/Jenkinsfile)' ], shouldMatchAll: false).toString()) setEnvVar('EXT_WINDOWS_CHANGES', isGitRegionMatch(patterns: [ '.ci/Jenkinsfile' ], shouldMatchAll: false).toString()) setEnvVar('EXT_M1_CHANGES', isGitRegionMatch(patterns: [ '.ci/Jenkinsfile' ], shouldMatchAll: false).toString()) + // set the GO_VERSION env variable with the go version to be used in withMageEnv + setEnvVar('GO_VERSION', readFile(file: '.go-version')?.trim()) } } }