mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
parent
57937ca8cc
commit
5c2ca4e6e5
1 changed files with 12 additions and 1 deletions
|
@ -161,7 +161,18 @@ def bash(script, label) {
|
|||
}
|
||||
|
||||
def doSetup() {
|
||||
runbld("./test/scripts/jenkins_setup.sh", "Setup Build Environment and Dependencies")
|
||||
retryWithDelay(2, 15) {
|
||||
try {
|
||||
runbld("./test/scripts/jenkins_setup.sh", "Setup Build Environment and Dependencies")
|
||||
} catch (ex) {
|
||||
try {
|
||||
// Setup expects this directory to be missing, so we need to remove it before we do a retry
|
||||
bash("rm -rf ../elasticsearch", "Remove elasticsearch sibling directory, if it exists")
|
||||
} finally {
|
||||
throw ex
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def buildOss() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue