commit | 44e2ca2337a9fe1a94576ba271e4c022a53f7150 | [log] [tgz] |
---|---|---|
author | Dmitry Burmistrov <dburmistrov@mirantis.com> | Fri Jun 29 15:08:57 2018 +0400 |
committer | Dmitry Burmistrov <dburmistrov@mirantis.com> | Fri Jun 29 15:08:57 2018 +0400 |
tree | 4296be3d337d9b54e5a52dd9240eed3a511b1837 | |
parent | ea84e31dd7ea1b1f15d71a1bcfc1fac6fd4ea9a8 [diff] |
Workaround JENKINS-50470 Change-Id: I56bd4c869389e506b4064c0d8709c9914b69066a
diff --git a/git-mirror-pipeline.groovy b/git-mirror-pipeline.groovy index 45536d0..8bfe467 100644 --- a/git-mirror-pipeline.groovy +++ b/git-mirror-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("source") {