From 9c63b99198c8295036d9eccea96360dbc13a004d Mon Sep 17 00:00:00 2001 From: qxmips Date: Sun, 4 Apr 2021 22:16:25 -0400 Subject: fixed s3 upload path --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Jenkinsfile') diff --git a/Jenkinsfile b/Jenkinsfile index 5f4f527e..b682f41c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -225,9 +225,9 @@ pipeline { } } withAWS(region: 'us-east-1', credentials: 's3-vyos-downloads-rolling-rw') { - s3Upload(bucket: 's3-us.vyos.io', path: 'rolling/', + s3Upload(bucket: 's3-us.vyos.io', path: 'rolling/' + getGitBranchName() + '/', workingDir: 'build', includePathPattern: 'vyos*.iso') - s3Copy(fromBucket: 's3-us.vyos.io', fromPath: getGitBranchName() + '/' + files[0].name, + s3Copy(fromBucket: 's3-us.vyos.io', fromPath: 'rolling/' + getGitBranchName() + '/' + files[0].name, toBucket: 's3-us.vyos.io', toPath: getGitBranchName() + '/vyos-rolling-latest.iso') } } -- cgit v1.2.3