When a build run on the master, "Archive the artifacts" doesn't preserve timestamps.
It preserves timestamps when run on slaves.
It looks caused by FilePath.copyRecursiveTo.
Original description (the issue was found not of Copyartifact, but of ArtifactArchiver):
The timestamps of artifacts are not preserved when archiving artifacts, OR performing a CopyArtifact operation if the artifact filter is set to "**".
For example the filter
will preserve timestamps.
We use mutiple chained Jenkins jobs to perform a build. If the timestamps of dependency files in the artifact passed between jobs is not preserved, then subsequent jobs will fail.