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
1 changed files with 6 additions and 0 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue