From 5a2e5e56db491b55acdaefc1a8b8b5867d90e6e8 Mon Sep 17 00:00:00 2001 From: Matt Rendina Date: Wed, 25 Jul 2018 12:40:57 -0400 Subject: Remove deprecated build_mode property and handling thereof. --- src/BuildConfig.groovy | 1 - vars/utils.groovy | 5 ----- 2 files changed, 6 deletions(-) diff --git a/src/BuildConfig.groovy b/src/BuildConfig.groovy index a954c22..9eeb3f0 100644 --- a/src/BuildConfig.groovy +++ b/src/BuildConfig.groovy @@ -3,7 +3,6 @@ package BuildConfig; class BuildConfig implements Serializable { def nodetype = "" - def build_mode = "" def name = "" def conda_packages = [] def conda_override_channels = false diff --git a/vars/utils.groovy b/vars/utils.groovy index f955d67..54e3ed4 100644 --- a/vars/utils.groovy +++ b/vars/utils.groovy @@ -51,11 +51,6 @@ def run(configs, concurrent = true) { def config_name = "" config_name = config.name - // For staged deprecation of '.build_mode' in favor of '.name'. - // TODO: Remove once all Jenkinsfiles are converted. - if (myconfig.build_mode != "") { - config_name = myconfig.build_mode - } println("config_name: ${config_name}") // Code defined within 'tasks' is eventually executed on a separate node. -- cgit