diff options
-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 { |