ci: Build package
parent
a7a779b2f6
commit
a767ed66a5
2
Makefile
2
Makefile
|
@ -22,7 +22,7 @@ package:
|
|||
|
||||
_build/initramfs/images/initramfs.img.lz4: _build/initramfs/.config
|
||||
$(MAKE) -C _build/initramfs
|
||||
cd _build/initramfs/images && ln rootfs.cpio.lz4 initramfs.img.lz4
|
||||
cd _build/initramfs/images && ln -f rootfs.cpio.lz4 initramfs.img.lz4
|
||||
|
||||
|
||||
_build/rootfs/.config: configs/metricspi_defconfig
|
||||
|
|
|
@ -73,5 +73,20 @@ pipeline {
|
|||
}
|
||||
}
|
||||
|
||||
stage('Package') {
|
||||
steps {
|
||||
sh 'make package'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
post {
|
||||
success {
|
||||
dir('_build') {
|
||||
archiveArtifacts 'metricspi.tar'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue