aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}")
}
}