summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-09-04 08:41:31 +0200
committerGitHub <noreply@github.com>2022-09-04 08:41:31 +0200
commitb3209fa92d485f0695542d93e499c86a0d8d1892 (patch)
tree1c628b6b9a034696033d509e92185f4deaa073ad /Jenkinsfile
parent07e2f85156ac024c7c8fe9d25925b6a72d9522af (diff)
downloadvyos-build-b3209fa92d485f0695542d93e499c86a0d8d1892.tar.gz
vyos-build-b3209fa92d485f0695542d93e499c86a0d8d1892.zip
Jenkins: disable cache control from s3 upload
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 80846ba5..187089ad 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -166,11 +166,9 @@ pipeline {
// Publish build result to AWS S3 rolling bucket
withAWS(region: 'us-east-1', credentials: 's3-vyos-downloads-rolling-rw') {
s3Upload(bucket: 's3-us.vyos.io', path: 'rolling/' + getGitBranchName() + '/',
- workingDir: 'build', includePathPattern: 'vyos*.iso',
- cacheControl: "public, max-age=2592000")
+ workingDir: 'build', includePathPattern: 'vyos*.iso')
s3Copy(fromBucket: 's3-us.vyos.io', fromPath: 'rolling/' + getGitBranchName() + '/' + files[0].name,
- toBucket: 's3-us.vyos.io', toPath: 'rolling/' + getGitBranchName() + '/vyos-rolling-latest.iso',
- cacheControl: "public, max-age=2592000")
+ toBucket: 's3-us.vyos.io', toPath: 'rolling/' + getGitBranchName() + '/vyos-rolling-latest.iso')
}
}