diff options
author | qxmips <qxmips@gmail.com> | 2021-04-04 22:16:25 -0400 |
---|---|---|
committer | qxmips <qxmips@gmail.com> | 2021-04-04 22:16:25 -0400 |
commit | 9c63b99198c8295036d9eccea96360dbc13a004d (patch) | |
tree | 3a2f25452780ad0ef62a7671113c5ac93c800c74 /Jenkinsfile | |
parent | d2d242459c494fb808a6fdddf6fc4a825a009b1f (diff) | |
download | vyos-build-9c63b99198c8295036d9eccea96360dbc13a004d.tar.gz vyos-build-9c63b99198c8295036d9eccea96360dbc13a004d.zip |
fixed s3 upload path
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 4 |
1 files changed, 2 insertions, 2 deletions
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') } } |