Skip to content

Commit b7ab971

Browse files
v1vmergify[bot]
authored andcommitted
ci: force GO_VERSION (#1204)
(cherry picked from commit a7c48ef)
1 parent d3eb3e8 commit b7ab971

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.ci/Jenkinsfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ pipeline {
6161
setEnvVar('K8S_CHANGES', isGitRegionMatch(patterns: [ '(^deploy/kubernetes/.*|^version/docs/version.asciidoc|.ci/Jenkinsfile)' ], shouldMatchAll: false).toString())
6262
setEnvVar('EXT_WINDOWS_CHANGES', isGitRegionMatch(patterns: [ '.ci/Jenkinsfile' ], shouldMatchAll: false).toString())
6363
setEnvVar('EXT_M1_CHANGES', isGitRegionMatch(patterns: [ '.ci/Jenkinsfile' ], shouldMatchAll: false).toString())
64+
// set the GO_VERSION env variable with the go version to be used in withMageEnv
65+
setEnvVar('GO_VERSION', readFile(file: '.go-version')?.trim())
6466
}
6567
}
6668
}

0 commit comments

Comments
 (0)