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 authored Nov 4, 2020
1 parent 1292334 commit f65d77e
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 @@ -107,16 +107,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 f65d77e

Please sign in to comment.