1. 27 9月, 2018 1 次提交
  2. 22 9月, 2018 1 次提交
  3. 21 9月, 2018 1 次提交
  4. 01 8月, 2018 1 次提交
  5. 20 7月, 2018 1 次提交
  6. 08 7月, 2018 1 次提交
  7. 27 6月, 2018 1 次提交
  8. 26 6月, 2018 2 次提交
  9. 20 6月, 2018 1 次提交
  10. 09 6月, 2018 1 次提交
  11. 05 5月, 2018 2 次提交
    • M
      JENKINS-13128: Preserve copied file permissions and mtime (#3400) · e229f37d
      Matt Sicker 提交于
      * JENKINS-13128: Preserve copied file permissions and mtime
      
      This fixes a bug where files copied locally do not preserve file permissions or last modification time.
      
      * Use IO utility methods for exception handling
      
      * Fix invalid path exception propagation
      
      * Revert hudson.Util
      e229f37d
    • J
      [JENKINS-50412] Fingerprints logs should be less verbose (#3373) · a9eafdb9
      Jeff Thompson 提交于
      * JENKINS-50412 - Fingerprints logs should be less verbose
      
      Eliminate the logging line that says
      possibly trimming /var/jenkins_home/fingerprints/[...]
      This line fills up the fingerprints log file with repetitive, useless information.
      The operation it calls provides its own logging that can be turned on if detailed
      logging is actually needed instead of running this one repeatedly.
      
      Also, while in the area, convert a couple of FileFilter inner classes to lambdas
      and inline them. This reduces unnecessary boilerplate and improves clarity.
      
      In order to make this change testable, I elected to remove the final restriction on the
      class and annotate the class as restricted. This allows me to create unit tests for
      this change and also verify existing capability at the appropriate level.
      
      * Watch out for varying line endings.
      
      Use a reliable check.
      
      * Correct a few minor issues caught in review.
      
      * Change to correct access modifier.
      a9eafdb9
  12. 26 4月, 2018 2 次提交
  13. 29 3月, 2018 1 次提交
  14. 23 3月, 2018 1 次提交
  15. 21 3月, 2018 1 次提交
  16. 16 3月, 2018 1 次提交
    • D
      Suggest all parent loggers that are relevant · 87bb02b4
      Daniel Beck 提交于
      Parent loggers will be suggested in auto completion iff they
      include two or more child, grand-child, etc. loggers, and there
      is no more specific parent logger that includes the same number
      of descendants.
      87bb02b4
  17. 28 2月, 2018 1 次提交
  18. 26 2月, 2018 1 次提交
  19. 02 2月, 2018 2 次提交
    • B
      [JENKINS-48407] Re-enable AtomicFileWriterTest#checkPermissionsRespectUmask() (#3275) · 6cefcf17
      Baptiste Mathus 提交于
      * [JENKINS-48407] Re-enable test
      
      The previous test assumed permissions would always be the same,
      when they actually depend on umask settings.
      
      This change creates a file *not* using the temporary API, gets its
      permissions then compares it to the ones obtained using
      AtomicFileWriter.
      
      Note: we now only check the given permissions, not the "non-given".
      
      * Use assertThat(..., equalTo()) instead of a manual loop
      
      * Remove unused imports
      
      * Use TemporaryFolder instead of manual temporary dir creation
      6cefcf17
    • J
      Introduced ACL.lambda convenience method (#3260) · ac05680b
      Jesse Glick 提交于
      * Introduced ACL.lambda convenience method.
      
      * Javadoc
      ac05680b
  20. 30 1月, 2018 1 次提交
  21. 29 1月, 2018 1 次提交
  22. 24 1月, 2018 7 次提交
  23. 20 1月, 2018 1 次提交
  24. 17 1月, 2018 1 次提交
  25. 04 1月, 2018 1 次提交
    • B
      Introduce flags to disable force per instance or globally · 3a5189eb
      Baptiste Mathus 提交于
      The goal here is to:
      * be able to selectively choose performance over integrity in some very
        specific cases
      * be able to globally disable AtomicFileWriter integrity, and basically
        revert to previous behaviour by setting a system property.
        This flag is meant as an emergency one in case something goes very
        wron on some production system.
      3a5189eb
  26. 23 12月, 2017 1 次提交
    • L
      [JENKINS-48227] Use "Files.createTempDirectory" to create temp directory (#3161) · 8e78ab1c
      Larry Singleton 提交于
      * Use "Files.createTempDirectory" to create temp directory instead
      See SonarQube critical vulnerability squid:S2976 (tag: owasp-a9)
      https://next.sonarqube.com/sonarqube/coding_rules#rule_key=squid%3AS2976
      
      * [JENKINS-48227]
      Creating a utility "static Path toPath(File file) throws IOException" method,
      which wraps InvalidPathException to IOException so that it will be checked.
      - also fixed public static final reference
      - fixed broken test cases
      - added new test cases for toPath() and createTempDir()
      
      * Revert back to public static int
      
      * adjustments due to merges
      
      * Add posix check to determine if Posix FileAttributes should be included
      in call to Files.createTempDirectory()
      
      * Remove reference to private element
      
      * Updated to use explicit imports
      8e78ab1c
  27. 16 12月, 2017 1 次提交
    • D
      [JENKINS-48405] Use NIO in tryOnceDeleteFile and makeWritable (#3169) · 1270ba3b
      Devin Nusbaum 提交于
      * Use NIO in tryOnceDeleteFile and makeWritable
      
      * Don't try to set PosixFileAttributes on Windows
      
      * Do not create arbitrary exceptions in makeWritable to fix test failures on Windows
      
      * Remove unhelpful layer of exception wrapping
      
      * Add test exercising Util#makeWritable in Util#tryOnceDeleteFile
      
      * Add test for deleting a non-existant file
      
      * Return early if changing permissions with NIO succeeds
      1270ba3b
  28. 15 12月, 2017 1 次提交
  29. 09 12月, 2017 2 次提交