ci: keep lesavka telemetry stages running after gate failures
This commit is contained in:
parent
e5261cb323
commit
1da08ba589
24
Jenkinsfile
vendored
24
Jenkinsfile
vendored
@ -94,10 +94,12 @@ spec:
|
||||
}
|
||||
steps {
|
||||
container('rust-ci') {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/daily_master_gate.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Style Docs LOC Naming') {
|
||||
when {
|
||||
@ -105,10 +107,12 @@ spec:
|
||||
}
|
||||
steps {
|
||||
container('rust-ci') {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
sh 'scripts/ci/hygiene_gate.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Coverage') {
|
||||
when {
|
||||
@ -116,10 +120,12 @@ spec:
|
||||
}
|
||||
steps {
|
||||
container('rust-ci') {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/quality_gate.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Tests') {
|
||||
when {
|
||||
@ -127,10 +133,12 @@ spec:
|
||||
}
|
||||
steps {
|
||||
container('rust-ci') {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/test_gate.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Performance') {
|
||||
when {
|
||||
@ -138,10 +146,12 @@ spec:
|
||||
}
|
||||
steps {
|
||||
container('rust-ci') {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/performance_gate.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Media Reliability') {
|
||||
when {
|
||||
@ -149,10 +159,12 @@ spec:
|
||||
}
|
||||
steps {
|
||||
container('rust-ci') {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/media_reliability_gate.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Input Transport (Isolated Opt-In)') {
|
||||
when {
|
||||
@ -160,10 +172,12 @@ spec:
|
||||
}
|
||||
steps {
|
||||
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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Bare-Metal Lab Gates (Opt-In)') {
|
||||
when {
|
||||
@ -171,10 +185,12 @@ spec:
|
||||
}
|
||||
steps {
|
||||
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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Gate Glue') {
|
||||
when {
|
||||
@ -182,10 +198,12 @@ spec:
|
||||
}
|
||||
steps {
|
||||
container('rust-ci') {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/gate_glue_gate.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('SonarQube') {
|
||||
when {
|
||||
@ -193,10 +211,12 @@ spec:
|
||||
}
|
||||
steps {
|
||||
container('rust-ci') {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/sonarqube_gate.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build Dist') {
|
||||
when {
|
||||
@ -204,10 +224,12 @@ spec:
|
||||
}
|
||||
steps {
|
||||
container('rust-ci') {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
sh 'scripts/ci/build-dist.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Supply Chain Artifact Security') {
|
||||
when {
|
||||
@ -215,10 +237,12 @@ spec:
|
||||
}
|
||||
steps {
|
||||
container('rust-ci') {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
sh 'QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/supply_chain_gate.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Docker Login') {
|
||||
when {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user