From cbcacfe52ff8950285b0535ec33473ed7c984286 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Wed, 10 Mar 2021 16:04:57 +0100 Subject: [PATCH] Finish Jenkins builds even when CPack failures are present. --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 94a6ea4..68561f9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,9 +22,9 @@ pipeline { cmake arguments: '--build ./cmake-build-release --target ybcon -- -j 9', installation: 'Main' cmake arguments: '--build ./cmake-build-release-win32 --target ybcon -- -j 9', installation: 'Main' sh 'strip ./cmake-build-*/ybcon' - cpack installation: 'Main', workingDir: 'cmake-build-release' - cpack installation: 'Main', workingDir: 'cmake-build-release-arm' - cpack installation: 'Main', workingDir: 'cmake-build-release-win32' + catchError { cpack installation: 'Main', workingDir: 'cmake-build-release' } + catchError { cpack installation: 'Main', workingDir: 'cmake-build-release-arm' } + catchError { cpack installation: 'Main', workingDir: 'cmake-build-release-win32' } } } stage('Deploy') {