commit | ea84e31dd7ea1b1f15d71a1bcfc1fac6fd4ea9a8 | [log] [tgz] |
---|---|---|
author | Dmitry Burmistrov <dburmistrov@mirantis.com> | Fri Jun 29 15:04:50 2018 +0400 |
committer | Dmitry Burmistrov <dburmistrov@mirantis.com> | Fri Jun 29 15:05:00 2018 +0400 |
tree | 8af90e96baebfc8f7c1f1459fb5eb018fda352ab | |
parent | 18071f69f990f717c90fa28decdf9cdfa257dd46 [diff] [blame] |
Workaround JENKINS-50470 Change-Id: If130a118dc49b670a93214dae4176251cc7913bd
diff --git a/git-mirror-2way-pipeline.groovy b/git-mirror-2way-pipeline.groovy index 21d72bf..bd9dcb8 100644 --- a/git-mirror-2way-pipeline.groovy +++ b/git-mirror-2way-pipeline.groovy
@@ -6,7 +6,7 @@ try{ def branches = BRANCHES.tokenize(',') def pollBranches = [] - for (i=0; i < branches.size; i++) { + for (i=0; i < branches.size(); i++) { pollBranches.add([name:branches[i]]) } dir("target") {