diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-03 12:50:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-03 12:50:30 +0100 |
commit | 6b6ef404083572054f33e98087c5bf77ad445c20 (patch) | |
tree | ac62a6d2b177d27bfb654243734988eff819bcec | |
parent | 6488edf0a3145f0b76a607446de9ad79e6b5ee55 (diff) | |
parent | dbee0dd0b205885e69c2904455cc7fbae9f35c69 (diff) | |
download | vyos-build-6b6ef404083572054f33e98087c5bf77ad445c20.tar.gz vyos-build-6b6ef404083572054f33e98087c5bf77ad445c20.zip |
Merge pull request #85 from qxmips/current
upload iso to S3
-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 { |