fix(ci): escape coverage regex for Groovy
Rust CI JohnSlop passed all CI checks.
Gitea/john-slop/pipeline/head This commit looks good
Details
Rust CI JohnSlop passed all CI checks.
Gitea/john-slop/pipeline/head This commit looks good
Details
This commit is contained in:
parent
d2f6f01fcd
commit
002b945e9b
|
|
@ -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}" \
|
||||
|
|
|
|||
Loading…
Reference in New Issue