From 78b4942c57a8df2690ff80b3a112b48e6512a774 Mon Sep 17 00:00:00 2001 From: Sergey Kozinskiy Date: Fri, 3 Dec 2021 16:21:35 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D1=84=D0=B0=D0=BA=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D0=B8=D0=BD=D0=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ru/pulsar/jenkins/library/utils/OscriptModules.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ru/pulsar/jenkins/library/utils/OscriptModules.groovy b/src/ru/pulsar/jenkins/library/utils/OscriptModules.groovy index 03411c2b..b4ffb4ef 100644 --- a/src/ru/pulsar/jenkins/library/utils/OscriptModules.groovy +++ b/src/ru/pulsar/jenkins/library/utils/OscriptModules.groovy @@ -8,7 +8,7 @@ class OscriptModules { IStepExecutor steps = ContextRegistry.getContext().getStepExecutor() - String moduleBinary = steps.isUnix() ? moduleName : "$moduleName"".bat"; + String moduleBinary = steps.isUnix() ? moduleName : "$moduleName.bat"; String modulePath = "oscript_modules/bin/$moduleBinary"; if (!steps.fileExists(modulePath)) { modulePath = moduleBinary;