diff --git a/Jenkinsfile b/Jenkinsfile index d10a26ac68..4ce5a1f45a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -121,6 +121,9 @@ try { } } } +} catch(Exception e) { + currentBuild.result = 'FAILED: deploys' + throw e } finally { def buildStatus = currentBuild.result def buildNotSuccess = !SUCCESS.equals(buildStatus)