aboutsummaryrefslogtreecommitdiff
path: root/vars
diff options
context:
space:
mode:
authorMatt Rendina <mrendina@stsci.edu>2018-11-20 17:44:48 -0500
committerMatt Rendina <rendinam@users.noreply.github.com>2018-11-20 20:11:45 -0500
commit9d0209ce82474a3ed230e8c4267c265c058daa0f (patch)
tree1edb8908bee6db856cec1feb406d68b7cfca7c5d /vars
parentdbaff0cc36517623cc86bedd0e962375af5a2613 (diff)
downloadjscu_refactor-9d0209ce82474a3ed230e8c4267c265c058daa0f.tar.gz
Create a JobConfig object containing default values.1.2.6
Diffstat (limited to 'vars')
-rw-r--r--vars/utils.groovy4
1 files changed, 1 insertions, 3 deletions
diff --git a/vars/utils.groovy b/vars/utils.groovy
index e9dc747..50d17df 100644
--- a/vars/utils.groovy
+++ b/vars/utils.groovy
@@ -25,7 +25,6 @@ def github(reponame, username, password, subject, message) {
// If no skip directive is found, or skip_disable is true, stash all the
// source files for efficient retrieval by subsequent nodes.
def scm_checkout(args = ['skip_disable':false]) {
- def JobConfig jc = new JobConfig()
skip_job = 0
node("on-master") {
stage("Setup") {
@@ -231,8 +230,7 @@ def test_summary_notify(single_issue) {
def run(configs, concurrent = true) {
// Split off any JobConfig object, leaving the config objects.
- def ljobconfig = null
- def lconfigs = []
+ def ljobconfig = new JobConfig() // Set default values.
configs.eachWithIndex { config, index ->
if (config.getClass() == JobConfig) {
ljobconfig = config