reorder test report hooks so that published Junit includes modified reports

This commit is contained in:
spalger 2019-12-03 00:15:01 -07:00
parent 207cff0966
commit 30db70a82c

View file

@ -30,6 +30,10 @@ def withWorkers(name, preWorkerClosure = {}, workerClosures = [:]) {
uploadAllGcsArtifacts(name)
}
catchError {
runErrorReporter()
}
catchError {
runbld.junit()
}
@ -37,10 +41,6 @@ def withWorkers(name, preWorkerClosure = {}, workerClosures = [:]) {
catchError {
publishJunit()
}
catchError {
runErrorReporter()
}
}
}
}
@ -103,10 +103,10 @@ def legacyJobRunner(name) {
uploadAllGcsArtifacts(name)
}
catchError {
publishJunit()
runErrorReporter()
}
catchError {
runErrorReporter()
publishJunit()
}
}
}