From dbee0dd0b205885e69c2904455cc7fbae9f35c69 Mon Sep 17 00:00:00 2001 From: qxmips Date: Tue, 3 Mar 2020 10:52:37 +0000 Subject: upload iso to S3 --- Jenkinsfile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Jenkinsfile') 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 { -- cgit v1.2.3