mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 09:35:32 -07:00
Add per-stage failure to Jenkins pipeline
This commit is contained in:
20
.ci/Jenkinsfile
vendored
20
.ci/Jenkinsfile
vendored
@@ -53,20 +53,24 @@ pipeline {
|
||||
stages {
|
||||
stage('Build Windows') {
|
||||
steps {
|
||||
node('windows') {
|
||||
gitClone()
|
||||
windowsBuild()
|
||||
saveArtifacts()
|
||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||
node('windows') {
|
||||
gitClone()
|
||||
windowsBuild()
|
||||
saveArtifacts()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build Linux') {
|
||||
steps {
|
||||
node('debian') {
|
||||
gitClone()
|
||||
unixBuild()
|
||||
saveArtifacts()
|
||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||
node('debian') {
|
||||
gitClone()
|
||||
unixBuild()
|
||||
saveArtifacts()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user