summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorqxmips <qxmips@gmail.com>2021-04-04 22:16:25 -0400
committerqxmips <qxmips@gmail.com>2021-04-04 22:16:25 -0400
commit9c63b99198c8295036d9eccea96360dbc13a004d (patch)
tree3a2f25452780ad0ef62a7671113c5ac93c800c74 /Jenkinsfile
parentd2d242459c494fb808a6fdddf6fc4a825a009b1f (diff)
downloadvyos-build-9c63b99198c8295036d9eccea96360dbc13a004d.tar.gz
vyos-build-9c63b99198c8295036d9eccea96360dbc13a004d.zip
fixed s3 upload path
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile4
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')
}
}