Commit Graph

2 Commits

Author SHA1 Message Date
Luke Wood aa517f2db1
Persist the permissions of the source file when copying overrides.
If, for whatever reason, a file has been created on the Jenkins home
volume with the wrong permissions (eg. ssh config/keys etc) then it is
currently impossible to override those permissions without going into
the volume and manually editing them.

This change updates the `copy_reference_file` function to use `cp -p`,
which preserves mode, ownership and timestamps of the source files
instead of the destination file being overwritten.
2018-01-24 10:44:52 +00:00
Carlos Sanchez e37fdab85c Alpine tests are using the debian parent image
A fix to run in parallel
2017-09-22 13:10:13 +02:00