Browse Source

Fail the build if deploy fails

Fixes: gh-5997
pull/5999/head
Rob Winch 7 years ago
parent
commit
d5d9adf11d
  1. 3
      Jenkinsfile

3
Jenkinsfile vendored

@ -121,6 +121,9 @@ try { @@ -121,6 +121,9 @@ try {
}
}
}
} catch(Exception e) {
currentBuild.result = 'FAILED: deploys'
throw e
} finally {
def buildStatus = currentBuild.result
def buildNotSuccess = !SUCCESS.equals(buildStatus)

Loading…
Cancel
Save