diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-26 18:34:28 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-26 18:34:28 +0200 |
commit | 2a03e6c8ee5e07683cd65d1d42d1d816ee9e78c0 (patch) | |
tree | 5a6b94e5dc1445a2f35d51427ec84c54da73a4b3 | |
parent | 38ca152fc523f03de344a8b57d2185dd5127234c (diff) | |
download | vyos-build-2a03e6c8ee5e07683cd65d1d42d1d816ee9e78c0.tar.gz vyos-build-2a03e6c8ee5e07683cd65d1d42d1d816ee9e78c0.zip |
Jenkins: throw error on ISO build failure
-rw-r--r-- | Jenkinsfile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index e054cf1a..0aad5fcb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -121,6 +121,10 @@ pipeline { --version 1.2-crux-\$(date +%Y%m%d%H%M) sudo make iso """ + + if (fileExists('build/live-image-amd64.hybrid.iso') == false) { + error('ISO build error') + } } } } |