Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8140

CopyArtifact plugin should preserve executable bits

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It seems when artifacts are copied from another build using the plugin, the executable bits are not preserved. It's possible other permissions also do not persist, but I haven't verified this.

        Attachments

          Issue Links

            Activity

            Hide
            mindless Alan Harder added a comment -

            Not sure I can do anything about this.. not even sure if files in the archived artifacts area maintain permissions from the original file.

            Show
            mindless Alan Harder added a comment - Not sure I can do anything about this.. not even sure if files in the archived artifacts area maintain permissions from the original file.
            Hide
            kisielk Kamil Kisiel added a comment -

            Sorry if this isn't the right component to file it in, I'm not too familiar with the architecture of Hudson. The CopyArtifact plugin is the only thing I've used artifacts for at this point, so if the bug is elsewhere I guess the enhancement should be filed against that.

            Show
            kisielk Kamil Kisiel added a comment - Sorry if this isn't the right component to file it in, I'm not too familiar with the architecture of Hudson. The CopyArtifact plugin is the only thing I've used artifacts for at this point, so if the bug is elsewhere I guess the enhancement should be filed against that.
            Hide
            mindless Alan Harder added a comment -
            Show
            mindless Alan Harder added a comment - Could be related: https://github.com/jenkinsci/jenkins/pull/97
            Hide
            abayer Andrew Bayer added a comment -

            Assuming copyartifact is using the FilePath tar/zip logic, yeah, that pull request should theoretically fix this. I'm just not 100% confident in my code, which is why I did it as a pull request for others to review. =)

            Show
            abayer Andrew Bayer added a comment - Assuming copyartifact is using the FilePath tar/zip logic, yeah, that pull request should theoretically fix this. I'm just not 100% confident in my code, which is why I did it as a pull request for others to review. =)
            Hide
            kohsuke Kohsuke Kawaguchi added a comment -

            Fixed by JENKINS-9397

            Show
            kohsuke Kohsuke Kawaguchi added a comment - Fixed by JENKINS-9397
            Hide
            dreamtime Angela Johansson added a comment -

            This is not fixed for me. I am copying the file from the workspace, without using an archived artifact.

            Show
            dreamtime Angela Johansson added a comment - This is not fixed for me. I am copying the file from the workspace, without using an archived artifact.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              kisielk Kamil Kisiel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: