[CI] Move notifyOnError to fix in-progress alerts for ciGroups (#82506) (#82618)

This commit is contained in:
Brian Seeders 2020-11-04 16:58:01 -05:00 committed by GitHub
parent b65c5d5182
commit 12828d6db1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}")
}
}
}