Recently we've found out that files built by Pipelines as a Artifacts has modified date set to 1970-01-01 02:00, no created date, no accessed date.
Created and accessed are changed to current date/time when file is extracted from archive, but modification date doesn't change.
In further steps we are using some tool to host these files on Client's side, and these tools are relying on modification date, so this value is required.
What was changed on Pipelines side that it doesn't work as previously?
Or how to fix that behavior without modifying that date with file change.
G'day Kamil!
Thank you for raising this to our attention. I have tested this on my end and indeed, after extracting the archive - I see the same incorrect "created date" as you have mentioned.
This has been logged as a bug in the past for our developers to address - please feel free to "Watch" this for future updates and also click "This Affects Our Team" to improve its visibility:
https://jira.atlassian.com/browse/BCLOUD-20655
In the interim as a workaround, the date can be manually modified by running the "touch" command, you could create a script that pulls the current date/time and then apply this recursively to all files within a given folder - for example:
touch -t datetimehere
Cheers!
- Ben (Bitbucket Cloud Support)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.