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:
Sebastien Boeuf 2020-08-06 08:24:49 +02:00 committed by Rob Bradford
parent 7529a9ac05
commit 20cd778c5b

6
Jenkinsfile vendored
View File

@ -61,6 +61,9 @@ pipeline{
}
}
stage ('Run integration tests') {
options {
retry(3)
}
steps {
sh "scripts/dev_cli.sh tests --integration"
}
@ -84,6 +87,9 @@ pipeline{
}
}
stage ('Run integration tests for musl') {
options {
retry(3)
}
steps {
sh "scripts/dev_cli.sh tests --integration --libc musl"
}