Skip to content

Commit

Permalink
always return 0
Browse files Browse the repository at this point in the history
  • Loading branch information
ovcharenko-di committed Dec 15, 2024
1 parent db2f143 commit 326abf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ru/pulsar/jenkins/library/utils/CoverageUtils.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class CoverageUtils {
def script

if (steps.isUnix()) {
script = "ps -C '$name' -o pid="
script = "ps -C '$name' -o pid= || true"
pids = steps.sh(script, false, true, 'UTF-8')
} else {
script = """@echo off
Expand Down

0 comments on commit 326abf1

Please sign in to comment.