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:
Username404 2022-03-13 21:55:07 +01:00
parent 6dc658664a
commit bd6212daea
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 4 additions and 4 deletions

8
Jenkinsfile vendored
View File

@ -51,14 +51,14 @@ pipeline { // Multi-branch pipeline script for Yerbacon.
}
stage('Build for other platforms') {
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') {
buildTarget('armv7-w64-mingw32', 'armv7hl', 'armhf', true, 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') {