Azure DevOps Build Pipeline from Azure Repo always overwrites the date modified of the files. How can the date modified be preserved?

Viewed 44

Azure DevOps Build Pipeline from Azure Repo always overwrites the date modified of the files. This means that when deploying a release of say SSRS reports they will all have the current time stamp of when the files were either copied or zipped.

I have attempted the solutions offered around archiving the files and then copying the zip file but it always overwrites the date modified in the files.

The copy file task has the preserve target timestamp but the Windows machine file copy does not and so will overwrite the date modified.

enter image description here

0 Answers
Related