ci(lesavka): publish test telemetry before coverage setup
This commit is contained in:
parent
09bd7da9c5
commit
0aac0c2f28
35
Jenkinsfile
vendored
35
Jenkinsfile
vendored
@ -101,9 +101,6 @@ spec:
|
|||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
rustup component add rustfmt llvm-tools-preview clippy
|
rustup component add rustfmt llvm-tools-preview clippy
|
||||||
git config --global --add safe.directory "$WORKSPACE"
|
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') {
|
stage('Tests') {
|
||||||
when {
|
when {
|
||||||
expression { return params.LESAVKA_CI_PROFILE != 'daily' }
|
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') {
|
stage('Performance') {
|
||||||
when {
|
when {
|
||||||
expression { return params.LESAVKA_CI_PROFILE != 'daily' }
|
expression { return params.LESAVKA_CI_PROFILE != 'daily' }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user