From bd6212daea526bfe90e9e00349c7911e8f6e61fb Mon Sep 17 00:00:00 2001 From: Username404 Date: Sun, 13 Mar 2022 21:55:07 +0100 Subject: [PATCH] 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 --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 90d1ba8..6c1f72e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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') {