mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
upload iso to S3
This commit is contained in:
parent
6488edf0a3
commit
dbee0dd0b2
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -217,6 +217,12 @@ pipeline {
|
||||
ssh ${SSH_OPTS} ${SSH_REMOTE} -t "bash --login -c '/usr/bin/make-latest-rolling-symlink.sh'"
|
||||
"""
|
||||
}
|
||||
//upload to S3
|
||||
withAWS(region: 'us-east-1', credentials: 's3-vyos-downloads-rolling-rw') {
|
||||
def ARCH = sh(returnStdout: true, script: "dpkg --print-architecture").trim()
|
||||
s3Upload( bucket: 'vyos-downloads-rolling', path: 'rolling/' + getGitBranchName() + '/' + ARCH+ '/', workingDir:'build', includePathPattern: 'vyos*.iso' )
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
failure {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user