fix(ci): escape coverage regex for Groovy
Rust CI JohnSlop passed all CI checks.
Gitea/john-slop/pipeline/head This commit looks good Details

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

2
Jenkinsfile vendored
View File

@ -174,7 +174,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}" \