Don't execute make commands in parallel in the Jenkinsfile.

This commit is contained in:
Username404 2021-08-10 11:00:08 +02:00
parent 41da4ef6ac
commit 404b580ec3
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -18,9 +18,9 @@ pipeline { // Multi-branch pipeline script for Yerbacon.
cmakeBuild buildDir: 'cmake-build-release', buildType: 'release', cleanBuild: true, installation: 'Main'
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'
cmake arguments: '--build ./cmake-build-release --target ybcon', installation: 'Main'
sh 'strip ./cmake-build-release/ybcon'
cmake arguments: '--build ./cmake-build-release-arm --target ybcon -- -j 4', installation: 'Main'
cmake arguments: '--build ./cmake-build-release-arm --target ybcon', installation: 'Main'
}
}
stage('Build for other platforms') {