mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Jenkins: only deploy ISO if requested via parameter
This commit is contained in:
parent
1960c1c259
commit
c78b06be53
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -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') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user