From 20c92961d623c03af3fd64c57f7a08846d9b5665 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Fri, 22 Aug 2025 21:25:49 -0500 Subject: [PATCH] ci: Add CUSTOM_TARGET parameter If a value is provided for the `CUSTOM_TARGET` parameter, the specified target will be built first, before building the filesystem images. This provides a way to e.g. rebuild a specific package. --- ci/Jenkinsfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index d6e5ad6..569efe0 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -1,6 +1,7 @@ pipeline { parameters { booleanParam 'CLEAN_BUILD' + string 'CUSTOM_TARGET' } options { @@ -45,6 +46,11 @@ pipeline { stage('Build') { steps { sh 'make -C buildroot O="${PWD}"/_build BR2_EXTERNAL="${PWD}" aimeeos_qemu_aarch64_defconfig' + script { + if (params.CUSTOM_TARGET) { + sh "make -C _build '${CUSTOM_TARGET}'" + } + } sh 'make -C _build' } post {