From: Jonathan Lebon Date: Fri, 13 Mar 2020 18:35:53 +0000 (-0400) Subject: ci: use `fcosKola` for running kola tests X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~11^2~2^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cbb3f0a8c2265a0124f94296f4780a51ffce3a22;p=ostree.git ci: use `fcosKola` for running kola tests We were using `--no-test-exit-error` for upgrade tests but weren't actually checking for test failures after. Instead of running kola directly, just use the `fcosKola` custom step which automatically takes care of e.g. running tests in parallel and archiving results. --- diff --git a/.cci.jenkinsfile b/.cci.jenkinsfile index a83adeea..eaa976f5 100644 --- a/.cci.jenkinsfile +++ b/.cci.jenkinsfile @@ -77,20 +77,7 @@ parallel fcos: { coreos-assembler build """) } - stage("FCOS basic") { - timeout(time: 30, unit: 'MINUTES') { - shwrap("cosa kola run --basic-qemu-scenarios") - } - } - stage("FCOS upgrades") { - timeout(time: 30, unit: 'MINUTES') { - shwrap(""" - cosa kola --upgrades --no-test-exit-error - tar -cf - tmp/kola-upgrade | xz -c9 > kola-run-upgrade.tar.xz - """) - archiveArtifacts "kola-run-upgrade.tar.xz" - } - } + fcosKola("${env.WORKSPACE}") } }, buildopts: {