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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Bitbucket Pipelines Artifact - Modification date in built files

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.

 

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 01, 2022

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)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events