Finish Jenkins builds even when CPack failures are present.

This commit is contained in:
Username404-59 2021-03-10 16:04:57 +01:00
parent d40e85eb06
commit cbcacfe52f
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -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') {