mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 11:22:26 +00:00
ci: Retry integration tests if failing
Both gnu and musl workers will retry integration tests up to 3 times if they fail. This should give us a better pass rate, without having to restart the entire build every time a single glitch happens. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
7529a9ac05
commit
20cd778c5b
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -61,6 +61,9 @@ pipeline{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage ('Run integration tests') {
|
stage ('Run integration tests') {
|
||||||
|
options {
|
||||||
|
retry(3)
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh "scripts/dev_cli.sh tests --integration"
|
sh "scripts/dev_cli.sh tests --integration"
|
||||||
}
|
}
|
||||||
@ -84,6 +87,9 @@ pipeline{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage ('Run integration tests for musl') {
|
stage ('Run integration tests for musl') {
|
||||||
|
options {
|
||||||
|
retry(3)
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh "scripts/dev_cli.sh tests --integration --libc musl"
|
sh "scripts/dev_cli.sh tests --integration --libc musl"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user