ci(jenkins): skip prep on test runs and retry flaky exec

This commit is contained in:
Brad Stein 2026-04-18 17:29:50 -03:00
parent 9db28692bd
commit 1856e1b411

7
Jenkinsfile vendored
View File

@ -91,6 +91,9 @@ spec:
}
}
stage('Prep toolchain') {
when {
expression { return params.PUBLISH_IMAGES }
}
steps {
container('builder') {
sh '''
@ -105,6 +108,7 @@ spec:
stage('Run quality gate') {
steps {
container('tester') {
retry(2) {
sh '''
set -eu
apt-get update >/dev/null
@ -143,9 +147,11 @@ EOF
}
}
}
}
stage('Publish test metrics') {
steps {
container('tester') {
retry(2) {
sh '''
set -eu
apt-get update >/dev/null
@ -217,6 +223,7 @@ METRICS
}
}
}
}
stage('Enforce quality gate') {
steps {
container('tester') {