mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[CI] Move notifyOnError to fix in-progress alerts for ciGroups (#82506)
This commit is contained in:
parent
e683ece777
commit
9bb8a410db
1 changed files with 5 additions and 5 deletions
|
@ -109,16 +109,16 @@ def withFunctionalTestEnv(List additionalEnvs = [], Closure closure) {
|
|||
|
||||
def functionalTestProcess(String name, Closure closure) {
|
||||
return {
|
||||
withFunctionalTestEnv(["JOB=${name}"], closure)
|
||||
notifyOnError {
|
||||
withFunctionalTestEnv(["JOB=${name}"], closure)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def functionalTestProcess(String name, String script) {
|
||||
return functionalTestProcess(name) {
|
||||
notifyOnError {
|
||||
retryable(name) {
|
||||
runbld(script, "Execute ${name}")
|
||||
}
|
||||
retryable(name) {
|
||||
runbld(script, "Execute ${name}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue