From 369adb196081ccb350a153a46c5745d941bd5fb8 Mon Sep 17 00:00:00 2001 From: ivanovEV Date: Thu, 18 Jan 2024 15:06:37 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jenkins/library/configuration/JobConfiguration.groovy | 8 -------- vars/pipeline1C.groovy | 8 -------- 2 files changed, 16 deletions(-) diff --git a/src/ru/pulsar/jenkins/library/configuration/JobConfiguration.groovy b/src/ru/pulsar/jenkins/library/configuration/JobConfiguration.groovy index 4f344a74..9e6b520b 100644 --- a/src/ru/pulsar/jenkins/library/configuration/JobConfiguration.groovy +++ b/src/ru/pulsar/jenkins/library/configuration/JobConfiguration.groovy @@ -100,14 +100,6 @@ class JobConfiguration implements Serializable { (initMethod == InitInfoBaseMethod.DEFAULT_BRANCH_FROM_STORAGE && branchName != defaultBranch) } - boolean needLoadExtintions() { - IStepExecutor steps = ContextRegistry.getContext().getStepExecutor() - def env = steps.env(); - String branchName = env.BRANCH_NAME; - def extensions = initInfoBaseOptions.extensions - - return extensions.length != 0 - } String v8AgentLabel() { return v8version diff --git a/vars/pipeline1C.groovy b/vars/pipeline1C.groovy index 8aac1706..0972cc48 100644 --- a/vars/pipeline1C.groovy +++ b/vars/pipeline1C.groovy @@ -77,10 +77,6 @@ void call() { stages { stage('Сборка из исходников'){ - when { - beforeAgent true - expression { config.needBuildStage() } - } steps { timeout(time: config.timeoutOptions.getBinaries, unit: TimeUnit.MINUTES) { createDir('build/cfe') @@ -124,10 +120,6 @@ void call() { } stage('Загрузка расширений в конфигурацию'){ - when { - beforeAgent true - expression { config.needLoadExtintions() } - } steps { timeout(time: config.timeoutOptions.loadExtintions, unit: TimeUnit.MINUTES) { loadExtensions config