summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jenkinsfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 1ef8fca5..174448aa 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -149,9 +149,13 @@ pipeline {
if (isCustomBuild())
return
+ // only deploy ISO if requested via parameter
+ if (! params.BUILD_PUBLISH)
+ return
+
files = findFiles(glob: 'build/vyos*.iso')
// Publish ISO image to daily builds bucket
- if (files && params.BUILD_PUBLISH) {
+ if (files) {
// Publish ISO image to snapshot bucket
if (files && params.BUILD_SNAPSHOT) {
withAWS(region: 'us-east-1', credentials: 's3-vyos-downloads-rolling-rw') {