Skip to content

Commit

Permalink
[CI] Move notifyOnError to fix in-progress alerts for ciGroups (elast…
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed Nov 4, 2020
1 parent 7408326 commit 7af02b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions vars/kibanaPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
}
}
}
Expand Down

0 comments on commit 7af02b2

Please sign in to comment.