Commit Graph
27720 Commits
Author SHA1 Message Date
Oleg Nenashev 7eae00a5a5 Merge pull request #3827 from kuisathaverat/JENKINS-47458
[JENKINS-47458] update trilead-ssh2 version
2019-01-02 10:05:03 +01:00
Oleg Nenashev 575a38ca21 Merge pull request #3829 from batmat/bump-to-parent-1.51
Update to latest parent pom jenkins:1.51
2018-12-30 18:45:26 +01:00
Baptiste Mathus aa25fe0d46 Update to latest parent pom jenkins:1.51 2018-12-30 13:59:58 +01:00
Ivan Fernandez Calvo 1ab11ea121 [JENKINS-47458][JENKINS-55133] update trilead-ssh2 version 2018-12-28 14:47:09 +01:00
Baptiste Mathus ac34c927f6 Merge pull request #3822 from jsoref/eta-space
Add space after ETA:
2018-12-27 23:28:23 +01:00
Jeff Thompson 65ecd43ece Merge pull request #3812 from jvz/flaky-util-test
[JENKINS-55016] Fix flakiness in UtilTest
2018-12-27 14:06:05 -07:00
Jeff Thompson 37ed68dc63 Merge pull request #3793 from halkeye/JENKINS-55062-FixAssetsForRestarting
JENKINS-55062 - set resURL and rootURL for restarting template to load from the right places
2018-12-21 14:03:16 -07:00
Josh Soref a60f37ec13 Add space after ETA:
n.b. The French Localizer already did this

Old:
 (pending—Build #3,585 is already in progress (ETA:N/A))
New:
 (pending—Build #3,585 is already in progress (ETA: N/A))
2018-12-21 15:00:13 -05:00
Matt Sicker c453b9228f Update Util.isSymlink commentary
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-21 09:18:35 -06:00
Matt Sicker 1e82509bcc Use mutable list in mutable context
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-21 09:15:24 -06:00
Baptiste Mathus 2b8542410b Merge pull request #3818 from olivergondza/ath-bump
Bump ATH revision once more
2018-12-21 12:31:56 +01:00
Oliver Gondža 960dfcc0c6 rebuild please 2018-12-21 08:35:56 +01:00
Matt Sicker 15be8b0c1e Make test platform independent via Mockito
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-20 15:54:16 -06:00
Matt Sicker baba953258 Add missing exception
Without this, no exception would be thrown when a file cannot be deleted, but an exception would be thrown when a directory cannot be deleted.

Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-20 15:52:00 -06:00
Matt Sicker 4f4af9c0ee Merge branch 'master' into flaky-util-test 2018-12-20 13:53:44 -06:00
Gavin Mogan 9e77fde2be remove incorrect comment that was copy and pasted 2018-12-20 10:47:03 -08:00
Gavin Mogan 285c979643 [JENKINS-55062] Add tests to confirm res and root urls are now set 2018-12-20 10:47:03 -08:00
Gavin Mogan 89fcbb623d JENKINS-55062 - set resURL and rootURL for restarting template to load from the right places 2018-12-20 10:47:03 -08:00
Oliver Gondža ae89a29bb3 Bump ATH revision once more 2018-12-20 11:49:38 +01:00
Baptiste Mathus fe903e15f6 Merge pull request #3816 from MRamonLeon/fix-ath-failures
Pin ATH revision to latest to have JDK11
2018-12-19 21:39:23 +01:00
Ramon Leon 729e10b49a Pin ath revision to latest 2018-12-19 09:32:23 +01:00
Matt Sicker e4937bbb78 Revert test logic back to original
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-18 14:33:16 -06:00
Matt Sicker 24da0712cc Simplify test
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-18 11:43:47 -06:00
Matt Sicker 323b106ffe Revert "Improve test robustness"
This reverts commit dfb6d1d4

Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-18 11:40:42 -06:00
Matt Sicker dfb6d1d41c Improve test robustness
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-18 11:35:07 -06:00
Matt Sicker d5c9340041 Improve assertions
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-18 11:13:25 -06:00
Matt Sicker 55b8911c5d Use CountDownLatch instead of Object
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-18 10:57:59 -06:00
Matt Sicker f71bf07993 Refactor FileLocker into JUnit rule
Also fixes a bug where locked files are not cleaned up in the cleanup.

Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-18 10:46:09 -06:00
Matt Sicker 41fbaeeb8e Break up testForceRemoveRecursive_LockedFiles into logical tests
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-17 16:06:54 -06:00
Matt Sicker cc809df4c2 Use Files.isSymbolicLink on non-Windows platforms
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-17 15:47:18 -06:00
Matt Sicker 1b23a9e119 Fix symlink check logic to support junctions again
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-17 15:18:17 -06:00
Matt Sicker 592af986dc Clarify what this test is for
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-17 15:17:48 -06:00
Matt Sicker c05829c780 Add explicit test timeout
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-17 11:57:04 -06:00
Matt Sicker 27949aab5a Merge branch 'master' into flaky-util-test 2018-12-17 10:22:55 -06:00
Matt Sicker 685fb49c4f Ensure test thread is killed eventually
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-17 09:53:11 -06:00
Kohsuke Kawaguchi bcc4e4fe9c [maven-release-plugin] prepare for next development iteration 2018-12-16 21:07:20 -08:00
Kohsuke Kawaguchi 0f477dc3be [maven-release-plugin] prepare release jenkins-2.156 jenkins-2.156 2018-12-16 21:07:07 -08:00
Matt Sicker b42d0fcb7d Fix typo in method name
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-14 14:30:15 -06:00
Matt Sicker c020186130 Revert behavior of making writable
Instead of attempting to make every file or directory writable before deleting, this reverts behavior back to trying to delete before setting writable file options and retrying.

Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-14 14:25:44 -06:00
Matt Sicker e892a0bb6e Add convenience constructor
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-14 14:24:47 -06:00
Matt Sicker 97f539d003 Fix off by one error in error message
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-14 14:05:44 -06:00
Jesse Glick 13db805dee [JENKINS-26677] Avoid using ServletException from SlaveComputer since it can break calls to SlaveComputer.getChannelToMaster. (#3778)
java.lang.NoClassDefFoundError: javax/servlet/ServletException
	at hudson.util.ProcessTree.get(ProcessTree.java:399)
2018-12-14 18:59:04 +01:00
Oleg Nenashev bd06d4f10e Merge pull request #3776 from olivergondza/bump-ath-in-essentials
Bump ATH version to one that support Selenium 3
2018-12-14 18:55:38 +01:00
Nicolae Pascu b4a884e5bd [JENKINS-54933] Replace ZeroClipboard (Flash) with native JavaScript implementation (#3780)
* [CORE-626] remove ZeroClipboard and replace with pure js replacement

* remove css rule used for testing

* Poke the build
2018-12-14 18:34:44 +01:00
Matt Sicker e67d24c2ef Fix off by one math logic
Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-14 11:21:04 -06:00
Matt Sicker da96361c9b Merge branch 'master' into flaky-util-test 2018-12-14 11:06:51 -06:00
Matt Sicker 2e8197a2c7 Complete refactoring of Util.delete methods
This removes duplicated tests from UtilTest that were added in PathRemoverTest. This also ports the sleep/gc strategy for use by default to preserve backward compatibility.

Signed-off-by: Matt Sicker <boards@gmail.com>
2018-12-14 10:33:18 -06:00
Oleg Nenashev f0dadba464 Merge pull request #3791 from jsoref/patch-3
Miscellaneous minor fixes
2018-12-14 10:08:56 +01:00
Oleg Nenashev 6dd871ab20 Merge pull request #3801 from daniel-beck/update-triggerRemotely-documentation
Update triggerRemotely documentation
2018-12-14 10:08:32 +01:00
Wadeck Follonier 0c6a314297 [JENKINS-55197] Correction of the InstallUncaught NPE (#3806)
[JENKINS-55197] Correction of the InstallUncaught exception
2018-12-14 10:02:56 +01:00