From a875f8ab8009514eb84a7de44c5854fcc91481dc Mon Sep 17 00:00:00 2001 From: Username404 Date: Mon, 9 Aug 2021 18:29:13 +0200 Subject: [PATCH] Only strip the executable found in ./cmake-build-release. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6622cf8..af89b5a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,8 +19,8 @@ pipeline { // Multi-branch pipeline script for Yerbacon. cmakeBuild buildDir: 'cmake-build-release-arm', buildType: 'release', cleanBuild: true, installation: 'Main', cmakeArgs: '-DCMAKE_C_COMPILER=/usr/bin/arm-linux-gnueabi-gcc -DCMAKE_CXX_COMPILER=/usr/bin/arm-linux-gnueabi-g++ -DCMAKE_LINKER=/usr/bin/arm-linux-gnueabi-ld.gold -DCMAKE_AR=/usr/bin/arm-linux-gnueabi-ar -DCPACK_RPM_PACKAGE_ARCHITECTURE=armv4l -DCPACK_DEBIAN_PACKAGE_ARCHITECTURE=armel' cmake arguments: '--build ./cmake-build-release --target ybcon -- -j 4', installation: 'Main' + sh 'strip ./cmake-build-release/ybcon' cmake arguments: '--build ./cmake-build-release-arm --target ybcon -- -j 4', installation: 'Main' - sh 'strip ./cmake-build-*/ybcon' } } stage('Cross-compile') {