From d8cd62f49617e8d68b1d1a691f53a3192024bed7 Mon Sep 17 00:00:00 2001 From: Dima Date: Fri, 13 Dec 2024 11:05:31 +0300 Subject: [PATCH] revert quotes --- 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 4eb647d8..88978c57 100644 --- a/src/ru/pulsar/jenkins/library/utils/CoverageUtils.groovy +++ b/src/ru/pulsar/jenkins/library/utils/CoverageUtils.groovy @@ -20,7 +20,7 @@ class CoverageUtils { script = "ps -aux | grep '$name' | grep -v grep | awk '{print \$2}'" pids = steps.sh(script, false, true, 'UTF-8') } else { - script = "@echo off\nchcp 65001 > nul\nfor /f \"tokens=2\" %%a in (\'tasklist ^| findstr $name\') do (@echo %%a)" + script = "@echo off\nchcp 65001 > nul\nfor /f \"tokens=2\" %%a in (\"tasklist ^| findstr $name\") do (@echo %%a)" pids = steps.bat(script, false, true, 'UTF-8') } return pids.split('\r?\n').toList()