From dc21a5bf34752c9324d24aa8ffebcdb45effe7b8 Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Wed, 30 Sep 2026 16:37:41 +0200 Subject: [PATCH] ci: remove obsolete coverage remnants --- Jenkinsfile | 25 ------------------------- tasks.md | 4 ++-- 2 files changed, 2 insertions(+), 27 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5a567fa..8df4d47 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,9 +8,6 @@ pipeline { CARGO_TERM_COLOR = 'always' RUST_BACKTRACE = '1' MSRV = '1.98.1' - // Coverage remains a local release gate while Jenkins does not publish - // its report artifact. - // TARPAULIN_VERSION = '0.37.4' CARGO_AUDIT_VERSION = '0.22.2' CARGO_DENY_VERSION = '0.20.2' } @@ -58,14 +55,6 @@ pipeline { rustfmt --version cargo clippy --version - # Tarpaulin setup is disabled until CI publishes its report. - # INSTALLED_TARPAULIN="$(cargo tarpaulin --version 2>/dev/null || true)" - # if [ "${INSTALLED_TARPAULIN}" != "cargo-tarpaulin-tarpaulin ${TARPAULIN_VERSION}" ]; then - # cargo install cargo-tarpaulin \ - # --locked \ - # --version "${TARPAULIN_VERSION}" - # fi - INSTALLED_AUDIT="$(cargo audit --version 2>/dev/null || true)" if [ "${INSTALLED_AUDIT}" != "cargo-audit ${CARGO_AUDIT_VERSION}" ]; then cargo install cargo-audit --locked --version "${CARGO_AUDIT_VERSION}" @@ -163,20 +152,6 @@ pipeline { } } - // Disabled while Jenkins does not publish the Tarpaulin report artifact. - // Local release validation still uses tarpaulin.toml and its 90% floor. - // stage('Coverage') { - // steps { - // sh ''' - // set -eu - // - // echo "Measuring line coverage..." - // - // cargo tarpaulin --config tarpaulin.toml - // ''' - // } - // } - stage('Clippy') { steps { sh ''' diff --git a/tasks.md b/tasks.md index 87479e3..c5909f9 100644 --- a/tasks.md +++ b/tasks.md @@ -711,8 +711,8 @@ and binary versions agree on `0.1.26`. reproducible. - [x] Ignore legacy per-package `cargo cyclonedx` intermediates left by earlier builds so workspace packaging remains clean after SBOM generation is removed. -- [x] Disable Jenkins Tarpaulin installation and execution while the job does - not publish coverage artifacts; retain the local 90% release gate. +- [x] Remove Jenkins Tarpaulin installation and execution while the job does not + publish coverage artifacts; retain the local 90% release gate. Acceptance: release packaging emits archive and binary checksums, and Jenkins can rebuild the same release commit with an earlier `dist/` bundle or legacy