upload iso to S3

This commit is contained in:
qxmips 2020-03-03 10:52:37 +00:00
parent 6488edf0a3
commit dbee0dd0b2

6
Jenkinsfile vendored
View File

@ -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 {