fixup-ci
RPMs/wal-g/pipeline/head This commit looks good Details

Dustin 2024-06-23 20:39:21 -05:00
parent ee9daa7e74
commit b57b40bfa3
1 changed files with 2 additions and 6 deletions

8
ci/Jenkinsfile vendored
View File

@ -18,11 +18,7 @@ def matrixBuild(architectures, fedoraVersions, block) {
}.collectEntries { }.collectEntries {
def arch = it[0] def arch = it[0]
def version = it[1] def version = it[1]
block.delegate = [ ["f${version}/${arch}", { block(arch, version) }]
arch: arch,
fedoraVersion: version,
]
["f${version}/${arch}", { block() }]
} }
} }
@ -52,7 +48,7 @@ stage('Fetch Sources') {
} }
} }
} }
matrixBuild(architectures, fedoraVersions) { matrixBuild(architectures, fedoraVersions) { arch, fedoraVersion ->
def tmpl = readYaml(text: podTemplateYaml) def tmpl = readYaml(text: podTemplateYaml)
tmpl.spec.containers.each { container -> tmpl.spec.containers.each { container ->
if (container.name == 'build') { if (container.name == 'build') {