ci: Build package
This commit is contained in:
2
Makefile
2
Makefile
@@ -22,7 +22,7 @@ package:
|
|||||||
|
|
||||||
_build/initramfs/images/initramfs.img.lz4: _build/initramfs/.config
|
_build/initramfs/images/initramfs.img.lz4: _build/initramfs/.config
|
||||||
$(MAKE) -C _build/initramfs
|
$(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
|
_build/rootfs/.config: configs/metricspi_defconfig
|
||||||
|
|||||||
15
ci/Jenkinsfile
vendored
15
ci/Jenkinsfile
vendored
@@ -73,5 +73,20 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Package') {
|
||||||
|
steps {
|
||||||
|
sh 'make package'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
post {
|
||||||
|
success {
|
||||||
|
dir('_build') {
|
||||||
|
archiveArtifacts 'metricspi.tar'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user