From c7cc274c4af2047ff8dd4f4ce879f1a7e33f8670 Mon Sep 17 00:00:00 2001 From: Sergey Kozinskiy Date: Wed, 25 May 2022 09:13:36 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0=20=D1=81?= =?UTF-8?q?=20=D0=BF=D1=83=D1=82=D0=B5=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../library/steps/DesignerToEdtFormatTransformation.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ru/pulsar/jenkins/library/steps/DesignerToEdtFormatTransformation.groovy b/src/ru/pulsar/jenkins/library/steps/DesignerToEdtFormatTransformation.groovy index 7ae969df..4e6cd269 100644 --- a/src/ru/pulsar/jenkins/library/steps/DesignerToEdtFormatTransformation.groovy +++ b/src/ru/pulsar/jenkins/library/steps/DesignerToEdtFormatTransformation.groovy @@ -15,7 +15,7 @@ class DesignerToEdtFormatTransformation implements Serializable { public static final String WORKSPACE_ZIP = 'build/edt-workspace.zip' public static final String WORKSPACE_ZIP_STASH = 'edt-workspace-zip' - private final JobConfiguration config; + private final JobConfiguration config DesignerToEdtFormatTransformation(JobConfiguration config) { this.config = config @@ -31,10 +31,10 @@ class DesignerToEdtFormatTransformation implements Serializable { return } - def env = steps.env(); + def env = steps.env() def workspaceDir = "$env.WORKSPACE/$WORKSPACE" - def configurationRoot = new File(env.WORKSPACE, config.srcDir).getAbsolutePath() + def configurationRoot = "$env.WORKSPACE/$config.srcDir" def edtVersionForRing = EDT.ringModule(config) steps.deleteDir(workspaceDir)