1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2025-08-25 20:09:25 +02:00
This commit is contained in:
Dima Ovcharenko
2024-12-11 16:56:16 +03:00
committed by GitHub
parent 49c1f789eb
commit 5d8f71069b

View File

@@ -20,7 +20,7 @@ class CoverageUtils {
} else {
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('\n').toList()
return pids.split('\r?\n').toList()
}
static CoverageContext prepareContext(JobConfiguration config, StepCoverageOptions options) {