Commit b432b980 authored by daidekun's avatar daidekun

count

parent f71ad1fa
......@@ -33,7 +33,7 @@ def call(body) {
stage('Deploy') {
arr_machines = machines.split(",")
count = arr_machines.size()
int_count = intValueExact(count) / 2
int_count = count.intValueExact() / 2
print int_count
machines_list = _utils.partition(arr_machines, int_count)
......
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