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.
This commit is contained in:
parent
94ccbcca5e
commit
cbb3f0a8c2
|
|
@ -77,20 +77,7 @@ parallel fcos: {
|
||||||
coreos-assembler build
|
coreos-assembler build
|
||||||
""")
|
""")
|
||||||
}
|
}
|
||||||
stage("FCOS basic") {
|
fcosKola("${env.WORKSPACE}")
|
||||||
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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
buildopts: {
|
buildopts: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue