diff --git a/Jenkinsfile b/Jenkinsfile index 2574bd5..8d288e8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,7 +22,8 @@ pipeline { // Multi-branch pipeline script for Yerbacon. stage('Build') { steps { echo "Building the ${env.BRANCH_NAME} branch.." - cmakeBuild buildDir: 'cmake-build-release', buildType: 'release', cleanBuild: true, installation: 'Main' + cmakeBuild buildDir: 'cmake-build-release', buildType: 'release', cleanBuild: true, installation: 'Main', + cmakeArgs: "-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_LINKER=/usr/bin/lld" cmake arguments: '--build ./cmake-build-release --target ybcon', installation: 'Main' sh 'strip ./cmake-build-release/ybcon' cpack installation: 'Main', workingDir: 'cmake-build-release'