summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile16
1 files changed, 5 insertions, 11 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index c85f95ff..c2ec90a5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -151,22 +151,16 @@ pipeline {
--version 1.3-rolling-\$(date +%Y%m%d%H%M)
sudo make iso
"""
+
+ if (fileExists('build/live-image-amd64.hybrid.iso') == false) {
+ error('ISO build error')
+ }
}
}
}
stage('Test ISO') {
when {
- beforeOptions true
- beforeAgent true
- anyOf {
- // Do not run ISO build when the Docker container definition or the build pipeline
- // library changes as this has no direct impact on the ISO image.
- not { changeset "**/docker/*" }
- not { changeset "**/vars/*" }
- not { changeset "**/packages/*" }
- triggeredBy 'TimerTrigger'
- triggeredBy cause: "UserIdCause"
- }
+ expression { fileExists 'build/live-image-amd64.hybrid.iso' }
}
steps {
sh "sudo make test"