mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-05 10:12:36 +00:00
Fail the build if deploy fails
Fixes: gh-5997
This commit is contained in:
parent
41b7c74928
commit
13159e9f88
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -121,6 +121,9 @@ try {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} catch(Exception e) {
|
||||||
|
currentBuild.result = 'FAILED: deploys'
|
||||||
|
throw e
|
||||||
} finally {
|
} finally {
|
||||||
def buildStatus = currentBuild.result
|
def buildStatus = currentBuild.result
|
||||||
def buildNotSuccess = !SUCCESS.equals(buildStatus)
|
def buildNotSuccess = !SUCCESS.equals(buildStatus)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user