ci: keep lesavka telemetry stages running after gate failures

This commit is contained in:
Brad Stein 2026-05-16 18:09:17 -03:00
parent e5261cb323
commit 1da08ba589

24
Jenkinsfile vendored
View File

@ -94,10 +94,12 @@ spec:
} }
steps { steps {
container('rust-ci') { container('rust-ci') {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/daily_master_gate.sh' sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/daily_master_gate.sh'
} }
} }
} }
}
stage('Style Docs LOC Naming') { stage('Style Docs LOC Naming') {
when { when {
@ -105,10 +107,12 @@ spec:
} }
steps { steps {
container('rust-ci') { container('rust-ci') {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh 'scripts/ci/hygiene_gate.sh' sh 'scripts/ci/hygiene_gate.sh'
} }
} }
} }
}
stage('Coverage') { stage('Coverage') {
when { when {
@ -116,10 +120,12 @@ spec:
} }
steps { steps {
container('rust-ci') { container('rust-ci') {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/quality_gate.sh' sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/quality_gate.sh'
} }
} }
} }
}
stage('Tests') { stage('Tests') {
when { when {
@ -127,10 +133,12 @@ spec:
} }
steps { steps {
container('rust-ci') { container('rust-ci') {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/test_gate.sh' sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/test_gate.sh'
} }
} }
} }
}
stage('Performance') { stage('Performance') {
when { when {
@ -138,10 +146,12 @@ spec:
} }
steps { steps {
container('rust-ci') { container('rust-ci') {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/performance_gate.sh' sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/performance_gate.sh'
} }
} }
} }
}
stage('Media Reliability') { stage('Media Reliability') {
when { when {
@ -149,10 +159,12 @@ spec:
} }
steps { steps {
container('rust-ci') { container('rust-ci') {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/media_reliability_gate.sh' sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/media_reliability_gate.sh'
} }
} }
} }
}
stage('Input Transport (Isolated Opt-In)') { stage('Input Transport (Isolated Opt-In)') {
when { when {
@ -160,10 +172,12 @@ spec:
} }
steps { steps {
container('rust-ci') { container('rust-ci') {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" LESAVKA_ALLOW_DISRUPTIVE_INPUT_TESTS=1 scripts/ci/input_transport_gate.sh' sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" LESAVKA_ALLOW_DISRUPTIVE_INPUT_TESTS=1 scripts/ci/input_transport_gate.sh'
} }
} }
} }
}
stage('Bare-Metal Lab Gates (Opt-In)') { stage('Bare-Metal Lab Gates (Opt-In)') {
when { when {
@ -171,10 +185,12 @@ spec:
} }
steps { steps {
container('rust-ci') { container('rust-ci') {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" LESAVKA_ALLOW_LAB_HARDWARE_TESTS=1 scripts/ci/baremetal_lab_gate.sh' sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" LESAVKA_ALLOW_LAB_HARDWARE_TESTS=1 scripts/ci/baremetal_lab_gate.sh'
} }
} }
} }
}
stage('Gate Glue') { stage('Gate Glue') {
when { when {
@ -182,10 +198,12 @@ spec:
} }
steps { steps {
container('rust-ci') { container('rust-ci') {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/gate_glue_gate.sh' sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/gate_glue_gate.sh'
} }
} }
} }
}
stage('SonarQube') { stage('SonarQube') {
when { when {
@ -193,10 +211,12 @@ spec:
} }
steps { steps {
container('rust-ci') { container('rust-ci') {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/sonarqube_gate.sh' sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/sonarqube_gate.sh'
} }
} }
} }
}
stage('Build Dist') { stage('Build Dist') {
when { when {
@ -204,10 +224,12 @@ spec:
} }
steps { steps {
container('rust-ci') { container('rust-ci') {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh 'scripts/ci/build-dist.sh' sh 'scripts/ci/build-dist.sh'
} }
} }
} }
}
stage('Supply Chain Artifact Security') { stage('Supply Chain Artifact Security') {
when { when {
@ -215,10 +237,12 @@ spec:
} }
steps { steps {
container('rust-ci') { container('rust-ci') {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/supply_chain_gate.sh' sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/supply_chain_gate.sh'
} }
} }
} }
}
stage('Docker Login') { stage('Docker Login') {
when { when {