This is an automated email from the ASF dual-hosted git repository.

bnolsen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new 1537dde  add def inside for loop for closure building
     new 7ef54ea  Merge pull request #108 from traeak/fix_closure
1537dde is described below

commit 1537dded62945eaf5fbe83aee75f74b93775901a
Author: Brian Olsen <[email protected]>
AuthorDate: Wed Aug 24 12:41:02 2022 +0000

    add def inside for loop for closure building
---
 jenkins/branch/branch_build.pipeline | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/jenkins/branch/branch_build.pipeline 
b/jenkins/branch/branch_build.pipeline
index d02c815..267a1fb 100644
--- a/jenkins/branch/branch_build.pipeline
+++ b/jenkins/branch/branch_build.pipeline
@@ -26,7 +26,8 @@ def doParallelBuilds() {
        def builders = [:]
        def prefix = env.JOB_DIR + '/'
 
-       for (jobpath in jobpaths) {
+       for (job in jobpaths) {
+               def jobpath = job
                def name = jobpath.substring(prefix.size())
                echo "Adding ${jobpath} as ${name}"
                builders[name] = {

Reply via email to