Commit 2ce2016d authored by daidekun's avatar daidekun

.size()

parent 31cafe6d
...@@ -32,7 +32,7 @@ def call(body) { ...@@ -32,7 +32,7 @@ def call(body) {
stage('Deploy') { stage('Deploy') {
arr_machines = machines.split(",") arr_machines = machines.split(",")
count = arr_machines.count / 2 count = arr_machines.size() / 2
echo count echo count
machines_list = _utils.partition(arr_machines, count) machines_list = _utils.partition(arr_machines, count)
echo machines_list echo machines_list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment