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