mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Jenkins: add "make test" helper
This commit is contained in:
parent
47647d4016
commit
3da1a284dc
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -178,7 +178,7 @@ pipeline {
|
|||||||
stage('Test ISO') {
|
stage('Test ISO') {
|
||||||
steps {
|
steps {
|
||||||
sh """
|
sh """
|
||||||
sudo scripts/check-qemu-install --debug build/live-image-amd64.hybrid.iso
|
sudo make test
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
9
Makefile
9
Makefile
@ -220,6 +220,15 @@ vep1400: check_build_config clean prepare
|
|||||||
cd ..
|
cd ..
|
||||||
@scripts/copy-image
|
@scripts/copy-image
|
||||||
|
|
||||||
|
.PHONY: test
|
||||||
|
.ONESHELL:
|
||||||
|
test:
|
||||||
|
if [ ! -f build/live-image-amd64.hybrid.iso ]; then
|
||||||
|
echo "Could not find build/live-image-amd64.hybrid.iso"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
scripts/check-qemu-install --debug build/live-image-amd64.hybrid.iso
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
.ONESHELL:
|
.ONESHELL:
|
||||||
clean:
|
clean:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user