ci(lesavka): publish test telemetry before coverage setup

This commit is contained in:
Brad Stein 2026-05-17 11:58:43 -03:00
parent 09bd7da9c5
commit 0aac0c2f28

35
Jenkinsfile vendored
View File

@ -101,9 +101,6 @@ spec:
rm -rf /var/lib/apt/lists/*
rustup component add rustfmt llvm-tools-preview clippy
git config --global --add safe.directory "$WORKSPACE"
if ! cargo llvm-cov --version >/dev/null 2>&1; then
cargo install --locked cargo-llvm-cov
fi
'''
}
}
@ -135,19 +132,6 @@ spec:
}
}
stage('Coverage') {
when {
expression { return params.LESAVKA_CI_PROFILE != 'daily' }
}
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 {
expression { return params.LESAVKA_CI_PROFILE != 'daily' }
@ -161,6 +145,25 @@ spec:
}
}
stage('Coverage') {
when {
expression { return params.LESAVKA_CI_PROFILE != 'daily' }
}
steps {
container('rust-ci') {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh '''
set -eu
if ! cargo llvm-cov --version >/dev/null 2>&1; then
cargo install --locked cargo-llvm-cov
fi
QUALITY_GATE_PUSHGATEWAY_URL="${QUALITY_GATE_PUSHGATEWAY_URL}" scripts/ci/quality_gate.sh
'''
}
}
}
}
stage('Performance') {
when {
expression { return params.LESAVKA_CI_PROFILE != 'daily' }