Commit Graph
263 Commits
Author SHA1 Message Date
Mikhail Kalkov 91f471072f Fixed hudson.util.io.TarArchiverTest failure when user's umask is set to 007 (new files are rw-rw----). See http://pastebin.com/5HHF9F4W and http://pastebin.com/LL773uCd for failure logs. 2012-07-20 18:43:04 +03:00
Nicolas De Loof 9089512c15 use a more explicit method name 2012-07-09 10:27:30 +02:00
Nicolas De Loof 17072af5a4 utility methods to manage canonical name (fullname from jenkins root)
and item renaming in relative item names
2012-07-06 17:22:40 +02:00
Kohsuke Kawaguchi e4c735f45d oopts 2012-06-22 17:42:52 -07:00
Kohsuke Kawaguchi 1602813b63 Improving functionality 2012-06-22 17:41:30 -07:00
Kohsuke Kawaguchi 5d3d9d16ef bug fix. handle name escaping like other reader/writers 2012-06-22 17:41:30 -07:00
Kohsuke Kawaguchi c75caf937c bug fix when there's no children nor value 2012-06-22 17:41:30 -07:00
Kohsuke Kawaguchi 38af8cf8bb added TreeString code.
This code was originally developed for analysis-core plugin, but I think it's useful outside it.
I'm promoting this up to core
2012-06-20 09:50:08 -07:00
Kohsuke Kawaguchi f527a54a7a added data structure useful to capture part of the XStream XML format as a DOM like structure. 2012-06-20 09:50:08 -07:00
Olivier Lamy 5379a8100c Merge pull request #496 from lvotypko/url-without-ampersand
Fix UtilTest and replace ampersand in method encode too
Thanks !
2012-06-14 05:56:56 -07:00
lvotypko c667523d44 Fix UtilTest and replace ampersand in method encode too 2012-06-13 13:17:19 +02:00
bap2000 9d8f300179 Enable ant default excludes to be turned off.
Add a new overload method to list files that include the files that ant excludes by default.
2012-05-14 16:01:42 -07:00
David Reiss e15b2e19e3 [FIXED JENKINS-13202] Don't set mtime or mode on symlinks
Previously, the untar code tries to set the last modified time and mode
on every untarred file.  However, if the tar contains a broken symlink,
or a symlink that points to a file that has not been untarred yet, the
time/mode setting would fail on the broken symlink.

Symlinks don't have meaningful modified times or modes of their own, so
only set these values on non-symlinks.

Rename the file "a" in the test to expose the bug.
2012-05-08 14:52:52 -07:00
Stephen Connolly 71debc2b89 [JENKINS-13649] Adding a test case 2012-05-01 09:39:05 +01:00
Kohsuke Kawaguchi 007e2045b4 early Guice expriment. No longer needed 2012-04-26 16:30:02 -07:00
Christoph Thelen 0725d2765d [FIXED JENKINS-13165] Allow plugins to disable usage of Ant default excludes.
This is also related to [JENKINS-9778].
2012-04-24 12:39:41 -07:00
Kohsuke Kawaguchi ff90e3deb2 added a test to make sure the certificate is valid for a awhile longer 2012-04-19 17:52:06 +02:00
Greg Temchenko f8a0fc03e6 don't count duration for duplicate testcases 2012-04-08 03:05:12 -07:00
Greg Temchenko 7921599c5f JENKINS-13377 duration on history page bugfix 2012-04-06 20:57:14 -07:00
Christoph Kutzinski d9e87705e8 [Re-FIXED JENKINS-12457] 'Age' column on 'Test Result' tab may show incorrect value when a test suite divided into multiple junit files 2012-04-06 20:08:05 +02:00
Christoph Kutzinski 1d249b98fb Added testcase and changelog for JENKINS-13214. The actual fix is in 7fba652710 2012-04-06 14:01:03 +02:00
Christoph Kutzinski 7fba652710 Revert "[FIXED JENKINS-12457] 'Age' column on 'Test Result' tab may show incorrect value when a test suite divided into multiple junit files"
This reverts commit 05937f5343.
2012-04-06 12:27:51 +02:00
Kohsuke Kawaguchi a67f6afe24 Work in progress toward SplittableBuildListener sync 2012-04-02 19:22:15 -07:00
Vojtech Juranek c3a61c67b0 Modified pull421 to fix failed unit tests.xs 2012-04-02 01:25:11 +02:00
Christoph Kutzinski 59a1f10d9b Avoid IllegalArgumentException in getBuildStatusSummary() if run is still building 2012-03-25 23:28:25 +02:00
Kohsuke Kawaguchi d184d53b24 [JENKINS-9118]
Tar/untar now correctly supports symlinks.
2012-03-09 18:26:22 -08:00
Kohsuke Kawaguchi 48b29ea526 Added more tests and discovered a couple more issues. 2012-03-05 17:54:43 -08:00
Christoph Kutzinski 05937f5343 [FIXED JENKINS-12457] 'Age' column on 'Test Result' tab may show incorrect value when a test suite divided into multiple junit files 2012-02-18 15:57:16 +01:00
Hayato ITO dd75293fd5 fix no proxy host config behavior 2012-02-13 20:41:12 +09:00
Kohsuke Kawaguchi 1774927de2 Updating tests to work since these tests now require full-blown Jenkins
environment.
2012-02-08 07:19:11 -08:00
Kohsuke Kawaguchi 19817fb773 Fixing test failures 2012-02-08 15:02:19 +01:00
Kohsuke Kawaguchi acad637198 merged pull request #342 2012-02-06 14:52:44 +01:00
Christoph Kutzinski b816be6000 [FIXED JENKINS-10458] broken links to test results if test name contains # or ? 2012-02-02 22:34:48 +01:00
OHTAKE Tomohiro 20249e4adc [FIXED JENKINS-12357] Crontab#ceil may stuck in an infinite loop or may return an incorrect value if day of week is 7 (=0, Sunday)
To use @Test(timeout), inheritance from TestCase should be removed
2012-01-30 09:02:23 +09:00
OHTAKE Tomohiro c24238ebbe Fix method name 2012-01-30 09:02:22 +09:00
OHTAKE Tomohiro 240c381bb8 [FIXED JENKINS-12388] Add tests for JENKINS-12388 2012-01-30 09:02:20 +09:00
Christoph Kutzinski 181d7dab54 Create unit test for Util.isSymlink [JENKINS-12331] 2012-01-08 12:54:05 +01:00
Tom Huybrechts ac905ff0dc faster lookup by node name for NodeList 2012-01-07 14:31:21 +01:00
Kohsuke Kawaguchi b1bb3f6667 Added code to evenly distribute tokens like @daily to arbitrary time of the day.
This prevents the load spike at midnight and other known time/date.
2012-01-04 22:11:47 -08:00
Christoph Kutzinski e2b59a27bb Reworked getBuildStatusSummary() to be based on ResultTrend and thereby fixed some inconsistencies in the 'isWorse' handling 2012-01-03 16:39:22 -08:00
Christoph Kutzinski bd071ce8b5 added test case for Run#getBuildStatusSummary - which shows that there're some problems 2012-01-03 16:39:22 -08:00
Kohsuke Kawaguchi 77a9746071 various trivial nit-picking 2012-01-03 16:11:21 -08:00
Albert So d8c12c0264 [JENKINS-12199] Fixed bug where job configuration shows a displayname even though the job doesn't have a display name 2012-01-03 15:33:42 -08:00
Albert So efcdf14ccb [JENKINS-11762] Fix displayname issues when renaming or cloning a job. We now clear the display name when cloning or renaming a job. 2012-01-03 15:33:42 -08:00
Albert So 484d952029 [JENKINS-11762] Changes to add a configurable display name to jobs 2012-01-03 15:33:42 -08:00
Albert So 05b46659e4 [JENKINS-11762] Changes to add a configurable display name to jobs 2012-01-03 15:33:42 -08:00
Brian Lalor 7e48d4ba40 [FIXED JENKINS-9942] Convert system path separator to "/"
The ZipArchiver was visit()'d with a relative path that uses the system's path
separator, but zip archives require a forward slash for platform compatibility.
This fix replaces the platform-dependent File.separatorChar with a forward
slash.
2012-01-03 11:32:44 -08:00
Christoph Kutzinski b4fe626f73 [JENKINS-11073] don't fail copyToWithPermissions if setting last-modified fails on Windows (more reliable detection of Windows platforms than before) 2011-12-30 16:51:32 +01:00
Christoph Kutzinski 8755e59c9a [FIXED JENKINS-11073] handle failure to set timestamp on Windows platforms more gracefully - this time hopefully for real 2011-11-23 20:28:51 +01:00
OHTAKE Tomohiro dfffcf0fb9 Test for absolute paths and relative paths 2011-10-24 23:30:50 +09:00