diff options
-rw-r--r-- | Jenkinsfile | 2 | ||||
-rw-r--r-- | Makefile | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 326c03e8..0d5cd65c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -178,7 +178,7 @@ pipeline { stage('Test ISO') { steps { sh """ - sudo scripts/check-qemu-install --debug build/live-image-amd64.hybrid.iso + sudo make test """ } } @@ -220,6 +220,15 @@ vep1400: check_build_config clean prepare cd .. @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 .ONESHELL: clean: |