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 {
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') {