From 7f4b7fae69d6e74eeb6b908f174ff4334a32e43e Mon Sep 17 00:00:00 2001 From: Dima Date: Wed, 11 Dec 2024 19:18:12 +0300 Subject: [PATCH] revert ^^ --- 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 00aab65c..c23288cd 100644 --- a/src/ru/pulsar/jenkins/library/utils/CoverageUtils.groovy +++ b/src/ru/pulsar/jenkins/library/utils/CoverageUtils.groovy @@ -18,7 +18,7 @@ class CoverageUtils { if (steps.isUnix()) { pids = steps.sh("ps -aux | grep '$name' | awk '{print \$2}'", false, true, 'UTF-8') } else { - pids = steps.bat("chcp 65001 > nul \nfor /f \"tokens=2\" %%a in (\"tasklist ^^| findstr $name\") do @echo %%a", false, true, 'UTF-8') + pids = steps.bat("chcp 65001 > nul \nfor /f \"tokens=2\" %%a in (\"tasklist ^| findstr $name\") do @echo %%a", false, true, 'UTF-8') } return pids.split('\r?\n').toList() }