diff --git a/jobs/build-arch.Jenkinsfile b/jobs/build-arch.Jenkinsfile index 7cad061aa..4c8667620 100644 --- a/jobs/build-arch.Jenkinsfile +++ b/jobs/build-arch.Jenkinsfile @@ -482,17 +482,24 @@ lock(resource: "build-${params.STREAM}-${params.ARCH}", extra: [[resource: "rele cosa compress --compressor xz --artifact metal --artifact metal4k """) try { - parallel metal: { + parallelruns = [:] + parallelruns['metal'] = { shwrap("cosa kola testiso -S --output-dir tmp/kola-testiso-metal") - }, metal4k: { - shwrap("cosa kola testiso -SP --qemu-native-4k --qemu-multipath --output-dir tmp/kola-testiso-metal4k") } + // metal4k doesn't work on s390x right now: https://github.com/coreos/fedora-coreos-tracker/issues/1261 + if (basearch != "s390x") { + parallelruns['metal4k'] = { + shwrap("cosa kola testiso -SP --qemu-native-4k --qemu-multipath --output-dir tmp/kola-testiso-metal4k") + } + } + // process this batch + parallel parallelruns } catch (Throwable e) { throw e } finally { shwrap(""" cosa shell -- tar -c --xz tmp/kola-testiso-metal/ > kola-testiso-metal.tar.xz - cosa shell -- tar -c --xz tmp/kola-testiso-metal4k/ > kola-testiso-metal4k.tar.xz + cosa shell -- tar -c --xz tmp/kola-testiso-metal4k/ > kola-testiso-metal4k.tar.xz || : """) archiveArtifacts allowEmptyArchive: true, artifacts: 'kola-testiso*.tar.xz' } diff --git a/jobs/build.Jenkinsfile b/jobs/build.Jenkinsfile index c1f0471f0..28f274784 100644 --- a/jobs/build.Jenkinsfile +++ b/jobs/build.Jenkinsfile @@ -468,11 +468,14 @@ lock(resource: "build-${params.STREAM}") { cosa compress --compressor xz --artifact metal --artifact metal4k """) try { - parallel metal: { + parallelruns = [:] + parallelruns['metal'] = { shwrap("cosa kola testiso -S --output-dir tmp/kola-testiso-metal") - }, metal4k: { + } + parallelruns['metal4k'] = { shwrap("cosa kola testiso -SP --qemu-native-4k --qemu-multipath --output-dir tmp/kola-testiso-metal4k") - }, uefi: { + } + parallelruns['uefi'] = { shwrap("cosa shell -- mkdir -p tmp/kola-testiso-uefi") shwrap(""" cosa shell -- mkdir tmp/iso-live-login-with-rd-debug @@ -483,6 +486,8 @@ lock(resource: "build-${params.STREAM}") { shwrap("cosa kola testiso -S --qemu-firmware=uefi --scenarios iso-live-login,iso-as-disk --output-dir tmp/kola-testiso-uefi/insecure") shwrap("cosa kola testiso -S --qemu-firmware=uefi-secure --scenarios iso-live-login,iso-as-disk --output-dir tmp/kola-testiso-uefi/secure") } + // process this batch + parallel parallelruns } catch (Throwable e) { throw e } finally {