From b8ef397f5a9562b7558c70897fbf7c381550a318 Mon Sep 17 00:00:00 2001 From: qxmips Date: Wed, 15 Apr 2020 04:52:12 +0000 Subject: changed s3 bucket to s3-us.vyos.io, added rolling/vyos-rolling-latest.iso --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4dda23a2..466e6f79 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -218,9 +218,11 @@ pipeline { """ } //upload to S3 + files = findFiles(glob: 'build/vyos*.iso') 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' ) + s3Upload( bucket: 's3-us.vyos.io', path: 'rolling/', workingDir:'build', includePathPattern: 'vyos*.iso' ) + s3Copy( fromBucket:'s3-us.vyos.io', fromPath:'rolling/' + files[0].name , toBucket:'s3-us.vyos.io', toPath: 'rolling/vyos-rolling-latest.iso') } } -- cgit v1.2.3