Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
Linux
Description
The clone workspace plugin doesn't seem to preserve the permissions of the files in the cloned workspace.
How to reproduce:
- set up a job that stores the workspace
- create a shell script with "execution" permission in the workspace
- run the job
- create a job that clones the workspace
- run the job
- examine the permissions of the script: the execution permission is gone
Attachments
Issue Links
- is related to
-
JENKINS-9397 TarArchiver and ZipArchiver don't preserve file permissions
-
- Resolved
-
Code changed in jenkins
User: Andrew Bayer
Path:
src/main/java/hudson/plugins/cloneworkspace/CloneWorkspacePublisher.java
src/main/resources/hudson/plugins/cloneworkspace/CloneWorkspacePublisher/config.jelly
src/test/java/hudson/plugins/cloneworkspace/CloneWorkspaceSCMTest.java
http://jenkins-ci.org/commit/jenkins-clone-workspace-scm-plugin/a92fbe254e800b81720f91f2dcde09ffcf92b5d4
Log:
Fixing test compilation due to changes for
JENKINS-9582andJENKINS-9577.