Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Keep original timestamp on build artifacts during artifact download?

Ray Hundley May 28, 2015

I am currently evaluating Bamboo for my organization and have build several test build plans along with deployment projects.  BTW, this is in a Windows environment

It appears that in a deploy environment the download artifact task does not preserve the date/timestamp of the build artifact(s).  Is it somehow possible to get around this so that when the build artifacts are copied to a folder on the target environment they have the date/timestamp from when they were successfully built?

 

 

4 answers

1 accepted

2 votes
Answer accepted
shari_anderson June 29, 2015

Bundle the deployment artifacts in a compressed zip file, then when you unzip it the target files will have the dates preserved. It also helps to lessen the transfer time if you have the files compressed.

1 vote
Ray Hundley June 30, 2015

Hi Shari.  Yes, I tried your method and it works great.  Thank you!

 

 

0 votes
shari_anderson June 29, 2015

Hi @Ray Hundley, did you see my answer? We're doing this and it works well.

0 votes
Felipe Kraemer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 19, 2015

Hi @Ray Hundley,

When you download an artifact, it gets created in the destination directory, just like what happens when you create any file, and this created file will have the current date.

Kind regards,
Felipe Kraemer

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events