From bd943e9bcc1190305935fefadae5ee165d05926f Mon Sep 17 00:00:00 2001 From: Ivan Smirnov Date: Tue, 13 Feb 2024 15:07:44 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=BD=D0=B0=20=D1=81=D1=83=D1=89=D0=B5=D1=81=D1=82=D0=B2?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D1=84=D0=B0=D0=B9=D0=BB?= =?UTF-8?q?=D0=B0=201Cv8.1CD.zip,=20=D1=83=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=20=D0=B4=D1=83=D0=B1=D0=BB=D1=8C=20=D1=81=D0=BE=D0=B7=D0=B4?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=BF=D0=B0=D0=BF=D0=BA=D0=B8=20bui?= =?UTF-8?q?ld/out?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 1 + vars/pipeline1C.groovy | 1 - vars/zipInfobase.groovy | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 14f2850e..f88f956e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -106,5 +106,6 @@ sharedLibrary { dependency("org.jenkinsci.plugins", "pipeline-model-definition", declarativePluginsVersion) dependency("org.jenkinsci.plugins", "pipeline-model-extensions", declarativePluginsVersion) dependency("io.jenkins.blueocean", "blueocean-pipeline-api-impl", "1.25.3") + dependency("sp.sd", "file-operations", "214.v2e7dc7f25757") } } diff --git a/vars/pipeline1C.groovy b/vars/pipeline1C.groovy index 89faa801..3828ab38 100644 --- a/vars/pipeline1C.groovy +++ b/vars/pipeline1C.groovy @@ -79,7 +79,6 @@ void call() { stage('Создание ИБ') { steps { timeout(time: config.timeoutOptions.createInfoBase, unit: TimeUnit.MINUTES) { - createDir('build/out') script { if (config.infoBaseFromFiles()) { diff --git a/vars/zipInfobase.groovy b/vars/zipInfobase.groovy index 74004bb5..14bc94ae 100644 --- a/vars/zipInfobase.groovy +++ b/vars/zipInfobase.groovy @@ -1,4 +1,7 @@ def call() { + if (fileExists('1Cv8.1CD.zip')) { + fileOperations([fileDeleteOperation(includes: '1Cv8.1CD.zip')]) + } zip dir: 'build/ib', glob: '1Cv8.1CD', zipFile: '1Cv8.1CD.zip' stash name: "1Cv8.1CD.zip", includes: "1Cv8.1CD.zip", allowEmpty: false }