We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a6577f commit 1fa9779Copy full SHA for 1fa9779
1 file changed
vars/kibanaPipeline.groovy
@@ -252,7 +252,18 @@ def bash(script, label) {
252
}
253
254
def doSetup() {
255
- runbld("./test/scripts/jenkins_setup.sh", "Setup Build Environment and Dependencies")
+ retryWithDelay(2, 15) {
256
+ try {
257
+ runbld("./test/scripts/jenkins_setup.sh", "Setup Build Environment and Dependencies")
258
+ } catch (ex) {
259
260
+ // Setup expects this directory to be missing, so we need to remove it before we do a retry
261
+ bash("rm -rf ../elasticsearch", "Remove elasticsearch sibling directory, if it exists")
262
+ } finally {
263
+ throw ex
264
+ }
265
266
267
268
269
def buildOss() {
0 commit comments