diff options
author | qxmips <qxmips@gmail.com> | 2020-03-03 10:52:37 +0000 |
---|---|---|
committer | qxmips <qxmips@gmail.com> | 2020-03-03 10:52:37 +0000 |
commit | dbee0dd0b205885e69c2904455cc7fbae9f35c69 (patch) | |
tree | ac62a6d2b177d27bfb654243734988eff819bcec /Jenkinsfile | |
parent | 6488edf0a3145f0b76a607446de9ad79e6b5ee55 (diff) | |
download | vyos-build-dbee0dd0b205885e69c2904455cc7fbae9f35c69.tar.gz vyos-build-dbee0dd0b205885e69c2904455cc7fbae9f35c69.zip |
upload iso to S3
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index c9828852..4dda23a2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 { |