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

Use NIO rather than JNR whenever possible

    XMLWordPrintable

Details

    Description

      A user reports that Pipeline stash does not preserve the executable bit on 64-bit AIX, apparently due to a missing JNR port. Probably the same applies to any use of TarArchiver.

      Since we now assume Java 7, we can use java.nio.file calls. In particular, making IOUtils.mode and FilePath._chmod use PosixFilePermission rather than JNR would be appropriate.

      Attachments

        Issue Links

          Activity

            People

              dnusbaum Devin Nusbaum
              jglick Jesse Glick
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: