1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2025-08-25 20:09:25 +02:00

fix quotes

This commit is contained in:
Dima
2024-12-15 21:01:01 +03:00
parent c01f42dd22
commit 25dc5e412c

View File

@@ -20,7 +20,7 @@ class Start implements Serializable {
def executable_name = getExecutableName(executable)
if (steps.isUnix()) {
steps.sh("$executable $params > \"./build/${env.STAGE_NAME}-start-${executable_name}.log 2>&1 &", false, false , encoding)
steps.sh("$executable $params > \"./build/${env.STAGE_NAME}-start-${executable_name}.log\" 2>&1 &", false, false , encoding)
} else {
steps.bat("chcp 65001 > nul \nstart \"\" /B \"$executable\" $params > \"./build/${env.STAGE_NAME}-start-${executable_name}.log\" 2>&1", false, false, encoding)
}