xxx: try cloning buildroot in groovy
dustin/airplaypi/pipeline/head This commit looks good Details

Dustin 2025-09-03 10:53:25 -05:00
parent b1a14d7bdd
commit d4a552372f
1 changed files with 20 additions and 1 deletions

21
ci/Jenkinsfile vendored
View File

@ -36,8 +36,27 @@ pipeline {
stage('Prepare') { stage('Prepare') {
steps { 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') { 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' 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'
} }
} }