diff options
| author | Matt Rendina <mrendina@stsci.edu> | 2017-11-27 11:56:55 -0500 |
|---|---|---|
| committer | Matt Rendina <mrendina@stsci.edu> | 2017-11-27 11:56:55 -0500 |
| commit | 5645a735d75d96307843fe05a1bef9d526cbf376 (patch) | |
| tree | ae915885415ea24d90258fbe2b636489c9b6cc5b | |
| parent | 62567f22fb64f30750c7de038ad080a4cb16c5e2 (diff) | |
| download | jscu_refactor-5645a735d75d96307843fe05a1bef9d526cbf376.tar.gz | |
Rename file
| -rw-r--r-- | vars/utils.groovy (renamed from vars/jfile_utils.groovy) | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/vars/jfile_utils.groovy b/vars/utils.groovy index 27f4821..d56bf8a 100644 --- a/vars/jfile_utils.groovy +++ b/vars/utils.groovy @@ -1,7 +1,7 @@ // Jenkinsfile utilities // Clone the source repository and examine the most recent commit message. -// If a '[ci skip]' or '[skip ci]' directive is present, immediately abort the build +// If a '[ci skip]' or '[skip ci]' directive is present, immediately // terminate the job with a success code. // If no skip directive is found, stash all the source files for efficient retrieval // by subsequent nodes. @@ -28,13 +28,10 @@ def scm_checkout() { return skip_job } -//if (scm_checkout()) { -// return -//} - -def concurrent2(mylist) { - for (build in mylist) { - println("concurrent2: build.nodetype = ${build.nodetype}") +def concurrent2(configs) { + def tasks = [:] + for (config in configs) { + println("concurrent2: build.nodetype = ${config.nodetype}") } } |
