From b47c8b3dc72bdd8bc1fe4c19eaa4f6e447199fc2 Mon Sep 17 00:00:00 2001 From: Username404 Date: Sun, 13 Mar 2022 10:23:06 +0100 Subject: [PATCH] Add a "Build for other architectures" stage to the Jenkinsfile Signed-off-by: Username404 --- Jenkinsfile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 01879d2..52d5da6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,10 +37,16 @@ pipeline { // Multi-branch pipeline script for Yerbacon. echo "Building the ${env.BRANCH_NAME} branch.." buildTarget('x86_64-linux-gnu', 'x86_64', 'amd64') buildTarget('i686-linux-gnu', 'i386', 'i386') - buildTarget('arm-linux-gnueabi', 'armv4l', 'armel') - buildTarget('arm-linux-gnueabihf', 'armv7hl', 'armhf') - buildTarget('aarch64-linux-gnu', 'aarch64', 'arm64', false) - buildTarget('riscv64-linux-gnu', 'riscv64', 'riscv64') + } + } + stage('Build for other architectures') { + steps { + catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { + buildTarget('arm-linux-gnueabi', 'armv4l', 'armel') + buildTarget('arm-linux-gnueabihf', 'armv7hl', 'armhf') + buildTarget('aarch64-linux-gnu', 'aarch64', 'arm64', false) + buildTarget('riscv64-linux-gnu', 'riscv64', 'riscv64') + } } } stage('Build for other platforms') {