Skip to content

Commit

Permalink
revert ^^
Browse files Browse the repository at this point in the history
  • Loading branch information
ovcharenko-di committed Dec 11, 2024
1 parent ce26f41 commit 7f4b7fa
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 @@ -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()
}
Expand Down

0 comments on commit 7f4b7fa

Please sign in to comment.