diff options
| author | Matt Rendina <mrendina@stsci.edu> | 2017-11-28 10:30:47 -0500 |
|---|---|---|
| committer | Matt Rendina <mrendina@stsci.edu> | 2017-11-28 10:30:47 -0500 |
| commit | fb9d8bcf17857a01d9f4846efeaa9cbc61c97d5b (patch) | |
| tree | e410e394c8f09dfc114ac64dd8c665a163dee29e | |
| parent | d57dc348f16813b57d0fd051e8cc0201a0c29593 (diff) | |
| download | jscu_refactor-fb9d8bcf17857a01d9f4846efeaa9cbc61c97d5b.tar.gz | |
Rename class
| -rw-r--r-- | src/BuildConfig.groovy (renamed from src/bconfig.groovy) | 10 | ||||
| -rw-r--r-- | vars/utils.groovy | 5 |
2 files changed, 6 insertions, 9 deletions
diff --git a/src/bconfig.groovy b/src/BuildConfig.groovy index 3d070f6..20e75d5 100644 --- a/src/bconfig.groovy +++ b/src/BuildConfig.groovy @@ -1,5 +1,5 @@ -// src/bconfig.groovy -package bconfig; +// src/BuildConfig.groovy +package BuildConfig; class BuildConfig implements Serializable { def nodetype = "" @@ -32,7 +32,7 @@ class BuildConfig implements Serializable { } } -class bconfig implements Serializable { - def name = "My name" -} +//class bconfig implements Serializable { +// def name = "My name" +//} diff --git a/vars/utils.groovy b/vars/utils.groovy index e0b8d4b..4c3771d 100644 --- a/vars/utils.groovy +++ b/vars/utils.groovy @@ -1,5 +1,5 @@ // Jenkinsfile utilities -import bconfig.bconfig +import BuildConfig.BuildConfig // Clone the source repository and examine the most recent commit message. // If a '[ci skip]' or '[skip ci]' directive is present, immediately @@ -37,8 +37,6 @@ class TClass implements Serializable { def concurrent2(configs) { def tasks = [:] println("Size of configs = ${configs.size()}") - def myconf = new bconfig() - println("myconf.name = ${myconf.name}") for (config in configs) { t = new TClass() println("concurrent2: build.nodetype = ${config.nodetype}") @@ -46,7 +44,6 @@ def concurrent2(configs) { println("concurrent2: build.build_args= ${config.build_args}") println("concurrent2: build.env_vars= ${config.env_vars}") def run_tests = config.run_tests - def tmp_config = new bconfig() tasks["${config.nodetype}/${config.build_mode}"] = { node(config.nodetype) { //withEnv(config.env_vars) { |
