1
0
Fork 0

log exception (#3434)

This commit is contained in:
Frank Celler 2017-10-16 19:35:55 +02:00 committed by GitHub
parent bd8d61c1fa
commit af25c7941d
1 changed files with 9 additions and 3 deletions

View File

@ -1130,9 +1130,15 @@ def testStep(os, edition, maintainer, mode, engine, stageName) {
def name = "${os}-${edition}-${maintainer}/03-test/${mode}-${engine}"
if (testCheck(os, edition, maintainer, mode, engine)) {
node("linux") { logStartStage(null, name, null) }
executeTests(os, edition, maintainer, mode, engine, stageName)
node("linux") { logStopStage(null, name) }
try {
node("linux") { logStartStage(null, name, null) }
executeTests(os, edition, maintainer, mode, engine, stageName)
node("linux") { logStopStage(null, name) }
}
catch (exc) {
node("linux") { logExceptionStage(null, name, null, exc) }
throw exc
}
}
}
}