S3 plugin metadata tags

180 views
Skip to first unread message

Curtis Kline

unread,
Oct 11, 2013, 3:27:34 PM10/11/13
to jenkins...@googlegroups.com
I am using the S3 plugin to upload some artifacts. I have a new requirement to include cache-control headers so I can explicitly set the cache expiration for some files. I tried including the metadata key Cache-Control and setting a value, but these headers are then prefixed with x-amz-meta, which makes Akamai completely ignore them.

Does anyone happen to know how I might be able to set Cache-Control headers on these uploaded files so that the tag will NOT have the x-amz-meta- prefix?

This is Jenkins 1.509.3 and S3 publisher plugin 0.4.

Thanks,
Curtis




Inline image 1


s3upload-5.png

mkr...@trialfire.com

unread,
Feb 27, 2014, 11:18:12 AM2/27/14
to jenkins...@googlegroups.com
Hey we have the exact same problem. Were you able to come up with anything?

Stephen Roberts

unread,
May 5, 2015, 5:36:46 PM5/5/15
to jenkins...@googlegroups.com
For anyone else searching, it appears support for cache-control and expires was added on Aug 11, 2014, then support for content-encoding was added on Sept 11, 2014. However, the version currently available via Jenkins (0.7) did not work for me. I ended up cloning the repo and building the plugin from the latest source code which now sets the metadata correctly. 
Reply all
Reply to author
Forward
0 new messages