From b57b40bfa3f6e8b6d401d812304bb427b674fa67 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 23 Jun 2024 20:39:21 -0500 Subject: [PATCH] fixup-ci --- ci/Jenkinsfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index 1b1313f..290c3f6 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -18,11 +18,7 @@ def matrixBuild(architectures, fedoraVersions, block) { }.collectEntries { def arch = it[0] def version = it[1] - block.delegate = [ - arch: arch, - fedoraVersion: version, - ] - ["f${version}/${arch}", { block() }] + ["f${version}/${arch}", { block(arch, version) }] } } @@ -52,7 +48,7 @@ stage('Fetch Sources') { } } } -matrixBuild(architectures, fedoraVersions) { +matrixBuild(architectures, fedoraVersions) { arch, fedoraVersion -> def tmpl = readYaml(text: podTemplateYaml) tmpl.spec.containers.each { container -> if (container.name == 'build') {