fixup! wip: ci: Begin Jenkins pipeline
dustin/airplaypi/pipeline/head This commit looks good Details

Dustin 2025-08-18 19:59:27 -05:00
parent ace3f3cad8
commit 1fbcbb3fc1
1 changed files with 13 additions and 2 deletions

15
ci/Jenkinsfile vendored
View File

@ -33,6 +33,15 @@ pipeline {
sh 'git clean -fdx' sh 'git clean -fdx'
} }
} }
stage('Prepare') {
steps {
container('jnlp') {
sh 'git submodule update --remote aimee-os'
}
}
}
stage('Build') { stage('Build') {
steps { steps {
sh 'make config && make update-config' sh 'make config && make update-config'
@ -41,10 +50,12 @@ pipeline {
post { post {
success { success {
dir('_build/images') { dir('_build/images') {
sh 'zstd firmware.img'
sh 'zstd sdcard.img'
archiveArtifacts([ archiveArtifacts([
'firmware.img', 'firmware.img.zst',
'rootfs.squashfs', 'rootfs.squashfs',
'sdcard.img', 'sdcard.img.zst',
].join(',')) ].join(','))
} }
} }