Skip to content

Commit 7701ef8

Browse files
committed
Fix index
1 parent 11b82f5 commit 7701ef8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Jenkinsfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ node('linux') {
1212
def branches = [:]
1313
branches['failFast'] = true
1414

15-
for (int i = 1; i < splits.size() + 1; i++) {
15+
for (int i = 0; i < splits.size(); i++) {
1616
def num = i
1717
def split = splits[num]
18-
branches["kind-${num}"] = {
18+
def index = num + 1
19+
branches["kind-${index}"] = {
1920
node('docker') {
2021
timeout(90) {
2122
checkout scm

0 commit comments

Comments
 (0)