Build x86_64 and i686 mingw32 targets before arm targets to give priority to the FAILURE stage result in the Jenkinsfile
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
6dc658664a
commit
bd6212daea
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -51,14 +51,14 @@ pipeline { // Multi-branch pipeline script for Yerbacon.
|
|||||||
}
|
}
|
||||||
stage('Build for other platforms') {
|
stage('Build for other platforms') {
|
||||||
steps {
|
steps {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
|
||||||
buildTarget('x86_64-w64-mingw32', 'x86_64', 'amd64', true, windowsSuffix)
|
|
||||||
buildTarget('i686-w64-mingw32', 'i386', 'i386', true, windowsSuffix)
|
|
||||||
}
|
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'UNSTABLE') {
|
catchError(buildResult: 'SUCCESS', stageResult: 'UNSTABLE') {
|
||||||
buildTarget('armv7-w64-mingw32', 'armv7hl', 'armhf', true, windowsSuffix)
|
buildTarget('armv7-w64-mingw32', 'armv7hl', 'armhf', true, windowsSuffix)
|
||||||
buildTarget('aarch64-w64-mingw32', 'aarch64', 'arm64', false, windowsSuffix)
|
buildTarget('aarch64-w64-mingw32', 'aarch64', 'arm64', false, windowsSuffix)
|
||||||
}
|
}
|
||||||
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
|
buildTarget('x86_64-w64-mingw32', 'x86_64', 'amd64', true, windowsSuffix)
|
||||||
|
buildTarget('i686-w64-mingw32', 'i386', 'i386', true, windowsSuffix)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
|
Loading…
Reference in New Issue
Block a user