Skip to content

Commit 42bb01f

Browse files
committed
INTERNAL: Jenkinsfile improvements
Disable the flaky SLES15 OVA builds. Retry the other platform OVA builds, hopefully that will help them build reliably until I can troubleshoot the actual cause of the timeouts during packer build.
1 parent 4a871ad commit 42bb01f

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

Jenkinsfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,9 @@ pipeline {
11291129

11301130
// Build the VMWare image
11311131
dir ('stacki-packi') {
1132-
sh './do-build.sh --esxi-host=sd-stacki-004.labs.teradata.com --esxi-user=root --format=vmware ../$ISO_FILENAME'
1132+
retry(3) {
1133+
sh './do-build.sh --esxi-host=sd-stacki-004.labs.teradata.com --esxi-user=root --format=vmware ../$ISO_FILENAME'
1134+
}
11331135
sh 'mv stacki-*-vmware.ova ../'
11341136
}
11351137

@@ -1232,6 +1234,9 @@ pipeline {
12321234
not {
12331235
environment name: 'PLATFORM', value: 'sles11'
12341236
}
1237+
not {
1238+
environment name: 'PLATFORM', value: 'sles15'
1239+
}
12351240
}
12361241

12371242
steps {
@@ -1261,7 +1266,9 @@ pipeline {
12611266

12621267
// Build the Virtualbox image
12631268
dir ('stacki-packi') {
1264-
sh './do-build.sh --format=vbox ../$ISO_FILENAME'
1269+
retry(3) {
1270+
sh './do-build.sh --format=vbox ../$ISO_FILENAME'
1271+
}
12651272
sh 'mv stacki-*-vbox.ova ../'
12661273
}
12671274

0 commit comments

Comments
 (0)