diff --git a/Makefile b/Makefile index 0d93fdf..abb074a 100644 --- a/Makefile +++ b/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 diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index 575978d..b0dae25 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -73,5 +73,20 @@ pipeline { } } + stage('Package') { + steps { + sh 'make package' + } + } + } + + post { + success { + dir('_build') { + archiveArtifacts 'metricspi.tar' + } + } + } + }