fix(ci): escape coverage regex for Groovy
Rust CI Cargo tests, coverage, and badge generation passed.
Gitea/rust_realease/pipeline/head This commit looks good Details

This commit is contained in:
Dandaedre 2026-10-03 14:43:26 +02:00
parent e968370299
commit f8e87c30b8
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -46,7 +46,7 @@ pipeline {
mv coverage/tarpaulin-report.json coverage/summary.json
coverage_percent=$(sed -n \
's/^.*],"coverage":\([0-9][0-9.]*\),"covered":[0-9][0-9]*,"coverable":[0-9][0-9]*}$/\1/p' \
's/^.*],"coverage":\\([0-9][0-9.]*\\),"covered":[0-9][0-9]*,"coverable":[0-9][0-9]*}$/\\1/p' \
coverage/summary.json)
scripts/render-coverage-badge.sh \
"${coverage_percent}" \