fixup! wip: ci: Begin Jenkins pipeline
dustin/airplaypi/pipeline/head This commit looks good
Details
dustin/airplaypi/pipeline/head This commit looks good
Details
parent
ace3f3cad8
commit
1fbcbb3fc1
|
@ -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(','))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue