From 3b3593b4d82f82a480a34723e993cf2e6ee8f2b6 Mon Sep 17 00:00:00 2001 From: ivanovEV Date: Mon, 22 Jan 2024 07:56:55 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D1=82,=20=D1=82=D0=B0=D0=BA=20?= =?UTF-8?q?=D1=82=D0=BE=D0=B6=D0=B5=20=D0=BD=D0=B5=20=D1=80=D0=B0=D0=B1?= =?UTF-8?q?=D0=BE=D1=82=D0=B0=D0=B5=D1=82=20)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ru/pulsar/jenkins/library/steps/GetExtensions.groovy | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ru/pulsar/jenkins/library/steps/GetExtensions.groovy b/src/ru/pulsar/jenkins/library/steps/GetExtensions.groovy index 91bbe28..42f37ec 100644 --- a/src/ru/pulsar/jenkins/library/steps/GetExtensions.groovy +++ b/src/ru/pulsar/jenkins/library/steps/GetExtensions.groovy @@ -43,8 +43,6 @@ class GetExtensions implements Serializable { } extractConvertedExtensions(sourceDirName, steps) - steps.createDir("${env.WORKSPACE}/${EXTENSIONS_OUT_DIR}") - config.initInfoBaseOptions.extensions.each { if (it.initMethod == InitMethod.SOURCE) { Logger.println("Сборка расширения ${it.name} из исходников") @@ -58,6 +56,9 @@ class GetExtensions implements Serializable { } private void buildExtension(Extension extension, String srcDir, String vrunnerPath, IStepExecutor steps) { + // ТУТ ГРЯЗНЫЙ ХАК + VRunner.exec("mkdir -p $EXTENSIONS_OUT_DIR") + // ТУТ КОНЕЦ ГРЯЗНОГО ХАКА def compileExtCommand = "$vrunnerPath compileexttocfe --src ${srcDir} --out $EXTENSIONS_OUT_DIR/${extension.name}.cfe" List logosConfig = ["LOGOS_CONFIG=$config.logosConfig"]