From d4a552372f0a6c2e3c4474a1eedbfd6557d84bbd Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Wed, 3 Sep 2025 10:53:25 -0500 Subject: [PATCH] xxx: try cloning buildroot in groovy --- ci/Jenkinsfile | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index 51a5138..4d63839 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -36,8 +36,27 @@ pipeline { stage('Prepare') { steps { + checkout( + poll: false, + scm: scmGit( + branches: [[name: 'refs/tags/2025.05.1']], + browser: gitLab('https://gitlab.com/buildroot.org/buildroot/'), + extensions: [ + [ + $class: 'RelativeTargetDirectory', + relativeTargetDir: 'buildroot', + ], + cloneOption( + shallow: true, + depth: 1, + ), + ], + userRemoteConfigs: [[ + url: 'https://gitlab.com/buildroot.org/buildroot.git', + ]], + ) + ) container('jnlp') { - sh 'if [ ! -d buildroot ]; then git clone https://gitlab.com/buildroot.org/buildroot.git -b 2025.05.x --depth 1; else git -C buildroot pull; fi' sh 'if [ ! -d aimee-os ]; then git clone https://git.pyrocufflink.net/AimeeOS/aimee-os.git --depth 1; else git -C aimee-os pull; fi' } }