From 326abf1ede102bcf93c135464f7e1fc9da6e6c03 Mon Sep 17 00:00:00 2001 From: Dima Date: Sun, 15 Dec 2024 16:15:16 +0300 Subject: [PATCH] always return 0 --- src/ru/pulsar/jenkins/library/utils/CoverageUtils.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ru/pulsar/jenkins/library/utils/CoverageUtils.groovy b/src/ru/pulsar/jenkins/library/utils/CoverageUtils.groovy index c9fd3a64..cb53b4a4 100644 --- a/src/ru/pulsar/jenkins/library/utils/CoverageUtils.groovy +++ b/src/ru/pulsar/jenkins/library/utils/CoverageUtils.groovy @@ -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