You've already forked jenkins-lib
mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2025-08-25 20:09:25 +02:00
toList
This commit is contained in:
@@ -142,6 +142,6 @@ class Yaxunit implements Serializable {
|
||||
} 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')
|
||||
return pids.split('\n').toList()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user