diff --git a/build/jenkins/pipelines/bundles.Jenkinsfile b/build/jenkins/pipelines/bundles.Jenkinsfile index f9abaf22ae..5dd0f567e0 100644 --- a/build/jenkins/pipelines/bundles.Jenkinsfile +++ b/build/jenkins/pipelines/bundles.Jenkinsfile @@ -1,4 +1,4 @@ -/* Copyright (C) 2024 Wildfire Games. +/* Copyright (C) 2025 Wildfire Games. * This file is part of 0 A.D. * * 0 A.D. is free software: you can redistribute it and/or modify @@ -53,9 +53,9 @@ pipeline { stage("Compile Native macOS Executable") { steps { - sh "cd libraries/ && MIN_OSX_VERSION=${env.MIN_OSX_VERSION} ./build-macos-libs.sh --force-rebuild" + sh "cd libraries/ && MIN_OSX_VERSION=${env.MIN_OSX_VERSION} ./build-macos-libs.sh ${JOBS} --force-rebuild" sh "cd build/workspaces/ && ./update-workspaces.sh --macosx-version-min=${env.MIN_OSX_VERSION}" - sh "cd build/workspaces/gcc/ && make" + sh "cd build/workspaces/gcc/ && make ${JOBS}" sh "svn cleanup --remove-unversioned build" sh "svn cleanup --remove-unversioned libraries" } @@ -94,10 +94,10 @@ pipeline { HOSTTYPE = "x86_64" } steps { - sh "cd libraries/ && MIN_OSX_VERSION=${env.MIN_OSX_VERSION} ./build-macos-libs.sh --force-rebuild" + sh "cd libraries/ && MIN_OSX_VERSION=${env.MIN_OSX_VERSION} ./build-macos-libs.sh ${JOBS} --force-rebuild" sh "cd build/workspaces/ && ./update-workspaces.sh --macosx-version-min=${env.MIN_OSX_VERSION}" sh "cd build/workspaces/gcc/ && make clean" - sh "cd build/workspaces/gcc/ && make" + sh "cd build/workspaces/gcc/ && make ${JOBS}" sh "svn cleanup --remove-unversioned build" sh "svn cleanup --remove-unversioned libraries" } diff --git a/build/jenkins/pipelines/freeBSD.Jenkinsfile b/build/jenkins/pipelines/freeBSD.Jenkinsfile index 5a69794b2c..1384f6f6fb 100644 --- a/build/jenkins/pipelines/freeBSD.Jenkinsfile +++ b/build/jenkins/pipelines/freeBSD.Jenkinsfile @@ -1,4 +1,4 @@ -/* Copyright (C) 2024 Wildfire Games. +/* Copyright (C) 2025 Wildfire Games. * This file is part of 0 A.D. * * 0 A.D. is free software: you can redistribute it and/or modify @@ -46,7 +46,7 @@ pipeline { sh "git lfs pull -I binaries/data/tests" sh "git lfs pull -I \"binaries/data/mods/_test.*\"" - sh "libraries/build-source-libs.sh 2> freebsd-prebuild-errors.log" + sh "libraries/build-source-libs.sh ${JOBS} 2> freebsd-prebuild-errors.log" sh "build/workspaces/update-workspaces.sh --jenkins-tests 2>> freebsd-prebuild-errors.log" script { @@ -64,7 +64,7 @@ pipeline { stage ("Release Build") { steps { - sh "cd build/workspaces/gcc/ && gmake config=release" + sh "cd build/workspaces/gcc/ && gmake ${JOBS} config=release" } post { failure { diff --git a/build/jenkins/pipelines/linux.Jenkinsfile b/build/jenkins/pipelines/linux.Jenkinsfile index 7e6e2f74e2..aff93efc5d 100644 --- a/build/jenkins/pipelines/linux.Jenkinsfile +++ b/build/jenkins/pipelines/linux.Jenkinsfile @@ -69,7 +69,7 @@ pipeline { sh "git lfs pull -I binaries/data/tests" sh "git lfs pull -I \"binaries/data/mods/_test.*\"" - sh "libraries/build-source-libs.sh 2> ${JENKINS_COMPILER}-prebuild-errors.log" + sh "libraries/build-source-libs.sh ${JOBS} 2> ${JENKINS_COMPILER}-prebuild-errors.log" sh "build/workspaces/update-workspaces.sh --jenkins-tests 2>> ${JENKINS_COMPILER}-prebuild-errors.log" @@ -89,7 +89,7 @@ pipeline { stage("Debug Build") { steps { - sh "cd build/workspaces/gcc/ && make config=debug" + sh "cd build/workspaces/gcc/ && make ${JOBS} config=debug" } post { failure { @@ -115,7 +115,7 @@ pipeline { stage("Release Build") { steps { - sh "cd build/workspaces/gcc/ && make config=release" + sh "cd build/workspaces/gcc/ && make ${JOBS} config=release" } } diff --git a/build/jenkins/pipelines/macOS.Jenkinsfile b/build/jenkins/pipelines/macOS.Jenkinsfile index 3147dedee0..8c57fd8443 100644 --- a/build/jenkins/pipelines/macOS.Jenkinsfile +++ b/build/jenkins/pipelines/macOS.Jenkinsfile @@ -1,4 +1,4 @@ -/* Copyright (C) 2024 Wildfire Games. +/* Copyright (C) 2025 Wildfire Games. * This file is part of 0 A.D. * * 0 A.D. is free software: you can redistribute it and/or modify @@ -40,7 +40,7 @@ pipeline { sh "git lfs pull -I binaries/data/tests" sh "git lfs pull -I \"binaries/data/mods/_test.*\"" - sh "libraries/build-macos-libs.sh 2> macos-prebuild-errors.log" + sh "libraries/build-macos-libs.sh ${JOBS} 2> macos-prebuild-errors.log" sh "build/workspaces/update-workspaces.sh --jenkins-tests 2>> macos-prebuild-errors.log" script { @@ -59,7 +59,7 @@ pipeline { stage("Debug Build") { steps { - sh "cd build/workspaces/gcc/ && make config=debug" + sh "cd build/workspaces/gcc/ && make ${JOBS} config=debug" } post { failure { @@ -85,7 +85,7 @@ pipeline { stage("Release Build") { steps { - sh "cd build/workspaces/gcc/ && make config=release" + sh "cd build/workspaces/gcc/ && make ${JOBS} config=release" } }