Update the Jenkinsfile.
This commit is contained in:
parent
91570df79a
commit
a9d6b3402d
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -1,8 +1,10 @@
|
||||
pipeline {
|
||||
pipeline { // Multi-branch pipeline script for Yerbacon.
|
||||
agent any
|
||||
|
||||
options {
|
||||
buildDiscarder(logRotator(numToKeepStr: '12', artifactNumToKeepStr: '14'))
|
||||
if (env.BRANCH_NAME != 'stable') {
|
||||
buildDiscarder(logRotator(numToKeepStr: '12', artifactNumToKeepStr: '14'))
|
||||
}
|
||||
sidebarLinks([
|
||||
[displayName: 'Gitea Repository', iconFileName: '/userContent/Yerbacon.png', urlName: 'https://gits.username404.fr/Username404-59/Yerbacon/src/branch/' + env.BRANCH_NAME]
|
||||
])
|
||||
@ -13,7 +15,7 @@ pipeline {
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
echo 'Building..'
|
||||
echo "Building the ${env.BRANCH_NAME} branch.."
|
||||
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'
|
||||
|
Loading…
Reference in New Issue
Block a user