Status: Resolved (View Workflow)
Ubuntu 12.04 64 bit
Files saved via the "Archive the artifacts" mechanism lose their file access bits.
In the workspace, the file is:
-rwxr-xr-x 1 jenkins nogroup 577 2012-06-30 09:23 XXtool
in the archive dir, it shows up as:
-rw-r--r-- 1 jenkins nogroup 577 2012-06-30 09:32 XXtool
There's no way that I can see to preserve the file permissions.
JENKINS-13128 Artifacts Permissions Stripped
- is related to
JENKINS-9741 Copy artifact loses file permissions
Also happens on Mac 10.8 and jenkins 1.516.
And I think it is such a common requirement.
I have uploaded a possible fix for this issue at https://github.com/metaspace/jenkins/commit/87a49efa0bdc99844455461db7db86fe3546e5e2
It was rejected. A new try is here https://github.com/jenkinsci/jenkins/pull/1576 . But it seems like this patch also needs some work.
Considering this a duplicate of
JENKINS-13128, as that's more comprehensive.
It seems to be not an issue of the Arifactdeployer Jenkins plugin.
For the ArtifactDeployer plugin, the entry point is "[ArtifactDeployer] - Deploy artifacts from workspace to remote directories".