- 27 9月, 2018 1 次提交
-
-
由 Oleg Nenashev 提交于
It is require to make the tests passing on Java 11, but apparently it also speeds up tests on Java 8.
-
- 22 9月, 2018 1 次提交
-
-
由 Oleg Nenashev 提交于
* [JENKINS-53693] - Update PowerMock and Mockito to a Java11-compatible version * [JENKINS-53693] - Fix tests which depend on mocking * [JENKINS-53693] - Apply fixes to PowerMock
-
- 21 9月, 2018 1 次提交
-
-
由 Oleg Nenashev 提交于
-
- 01 8月, 2018 1 次提交
-
-
由 Daniel Beck 提交于
-
- 20 7月, 2018 1 次提交
-
-
由 Jesse Glick 提交于
-
- 08 7月, 2018 1 次提交
-
-
由 Josh Soref 提交于
* [JENKINS-46205] ZipArchiver support 64 bit files call setUseZip64(Zip64Mode.AsNeeded) * [JENKINS-46205] ZipArchiver support 64 bit files Update test to assume it means insufficient disk space and skip
-
- 27 6月, 2018 1 次提交
-
-
由 Wadeck Follonier 提交于
-
- 26 6月, 2018 2 次提交
-
-
由 Wadeck Follonier 提交于
- also add translation for another creationDate - and manage correctly the null creation date instead of 0
-
由 Wadeck Follonier 提交于
- in case of migration we put null instead of now - improve also the difference in days for the Xxx day(s) ago to take calendar day in difference and not the total duration (<24h = 0 days, which seems wrong in UI)
-
- 20 6月, 2018 1 次提交
-
-
由 Jesse Glick 提交于
* [JENKINS-51779] Avoid com.google.common.collect.Iterators.skip. * Reviewers preferred for the new method to be restricted for now. (cherry picked from commit a846c366)
-
- 09 6月, 2018 1 次提交
-
-
由 Jesse Glick 提交于
* [JENKINS-51779] Avoid com.google.common.collect.Iterators.skip. * Reviewers preferred for the new method to be restricted for now.
-
- 05 5月, 2018 2 次提交
-
-
由 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
-
由 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.
-
- 26 4月, 2018 2 次提交
-
-
由 Daniel Beck 提交于
-
由 Wadeck Follonier 提交于
-
- 29 3月, 2018 1 次提交
-
-
由 Devin Nusbaum 提交于
-
- 23 3月, 2018 1 次提交
-
-
由 Steve Arch 提交于
-
- 21 3月, 2018 1 次提交
-
-
由 Steve Arch 提交于
-
- 16 3月, 2018 1 次提交
-
-
由 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.
-
- 28 2月, 2018 1 次提交
-
-
由 Jesse Glick 提交于
(cherry picked from commit 3a81319c)
-
- 26 2月, 2018 1 次提交
-
-
由 Jesse Glick 提交于
-
- 02 2月, 2018 2 次提交
-
-
由 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
-
由 Jesse Glick 提交于
* Introduced ACL.lambda convenience method. * Javadoc
-
- 30 1月, 2018 1 次提交
-
-
由 mike cirioli 提交于
file handle cleanup in the event of failure Fixed small nits regarding typo's and code cleanup Added comment explaining why Xpp3 is still included as a dep
-
- 29 1月, 2018 1 次提交
-
-
由 Baptiste Mathus 提交于
Note: this test is wrong, the production code is correct. So that is why disabling this test until we fix it is OK.
-
- 24 1月, 2018 7 次提交
-
-
由 mike cirioli 提交于
new default driver
-
由 mike cirioli 提交于
KXml2Driver being tolerant of control characters which should be illegal in an XML v1.0 content. This test should be revisted if we switch to another XML driver
-
由 mike cirioli 提交于
technically illegal xml (ie. it doesn't complain if an Xml v1.0 file contains special characters). Added a unit test that proves this, as well as fixing silentlyMigrateConfigsTest so that it starts with technically valid Xml 1.0 content
-
由 mike cirioli 提交于
are silently migrated to xml v1.1 as they are persisted
-
由 mike cirioli 提交于
- verify can still read xml 1.0 - verify can read xml 1.1 - verify can read xml 1.1 with 'special' characters - verify that jenkins can start with a config.xml having <?xml version='1.1'> and special characters
-
由 mike cirioli 提交于
Changed all explicit references of the hierarchical driver to use a static convinience method XStream2.getDefaultDriver() to ensure all XML operations are using the same driver.
-
由 mike cirioli 提交于
- switched to KxmlDriver (needed for xml 1.1 support) - updated to create xml v1.1 headers - updated test to use KXml2Driver explicitly - updated unit tests to support xml v1.1
-
- 20 1月, 2018 1 次提交
-
-
由 Jesse Glick 提交于
[JENKINS-49054] Work around XStream bug by looking up list type before trying to unmarshal elements.
-
- 17 1月, 2018 1 次提交
-
-
由 Baptiste Mathus 提交于
-
- 04 1月, 2018 1 次提交
-
-
由 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.
-
- 23 12月, 2017 1 次提交
-
-
由 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
-
- 16 12月, 2017 1 次提交
-
-
由 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
-
- 15 12月, 2017 1 次提交
-
-
由 Jesse Glick 提交于
Making nullOut behavior opt-in, so limiting to AbstractItem and View (and in particular not Jenkins).
-
- 09 12月, 2017 2 次提交
-
-
由 Jesse Glick 提交于
-
由 Jesse Glick 提交于
-