Commit Graph
237 Commits
Author SHA1 Message Date
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
OHTAKE Tomohiro e24cd27f16 Test for absolute URIs with authorities 2011-10-24 23:27:47 +09:00
OHTAKE Tomohiro eca11dfcfc Use mockito 2011-10-24 23:26:37 +09:00
OHTAKE Tomohiro 47f70c0f59 [FIXED JENKINS-7725] mailto: links should be absolute URIs 2011-10-21 08:47:20 +09:00
Kohsuke Kawaguchi a117dc00b5 this is also a part of the signature file 2011-10-11 09:01:52 +09:00
Erik Ramfelt 8cff4d8784 [JENKINS-7494] Fixed image resource path so it supports a context-path 2011-09-27 09:26:10 +09:00
Erik Ramfelt 1147884f66 [JENKINS-7494] Adding UserAvatarResolver to make it possible for plugins to add avatar images to user pages 2011-09-27 09:26:10 +09:00
Kohsuke Kawaguchi acd14d1885 using the bug annotation 2011-09-23 22:55:33 -07:00
Richard Mortimer f356b78ea0 [FIXED JENKINS-10903] Canceling a parent multi-configuration build produce a
build.xml that can't be deserialized

Handle resolves-to="com.google.common.collect.ImmutableList$SerializedForm"
manually and construct a suitable list. Any subsequent serialization of the
class will use the direct form of serialization.
2011-09-23 22:54:55 -07:00
Richard Mortimer ebee47bb75 [JENKINS-10903] Serialize ImmutableList in the same manner as ImmutableMap.
This is a partial fix for JENKINS-10903. Any new builds will
be serialized correctly.

Based on ImmutableMapConverter.java
2011-09-23 22:54:45 -07:00
Kohsuke Kawaguchi e17760256e merged with the latest trunk 2011-09-21 21:41:57 -07:00
Jerome Lacoste 4add1da582 JENKINS-7798 broken build fix. Update RunTest to match new Artifact constructor 2011-09-15 07:52:13 +02:00
Kohsuke Kawaguchi 48e95e0bf3 split out the version number code as a separate reusable library 2011-09-13 15:09:09 -07:00
Kohsuke Kawaguchi be50785b0c also verify that 1.2-SNAPSHOT is considered something like 1.2.-999 2011-09-08 19:47:09 -07:00
Kohsuke Kawaguchi cc796a9fce fixed a bug in handling version number comparison between "1.*" and "1" 2011-09-08 19:42:41 -07:00
Kohsuke Kawaguchi ce2be81243 Ant support is moved into its own plugin 2011-09-08 18:02:55 -07:00
Kohsuke Kawaguchi f38be779e0 Use the properly signed version, and make sure this will never happen
again.
2011-07-29 12:12:47 -07:00
Christoph Kutzinski 0ccc076b40 fixed some compiler warnings 2011-07-24 10:38:52 +02:00
Christoph Kutzinski 5853b541fe added more asserts, removed sysouts, generics 2011-07-24 00:28:16 +02:00
Christoph Kutzinski 34b9d6b660 unit test should be in the module it belongs to; move test resource to src/test/resources 2011-07-24 00:28:16 +02:00
Christoph Kutzinski 073bd72fc9 finally added a test for JENKINS-6545 2011-07-23 16:08:48 +02:00
Christoph Kutzinski e121335896 Since these are more like unit tests they should be in core and not in test-harness 2011-07-23 16:08:48 +02:00
Christoph Kutzinski 3c09a0c43a [FIXED JENKINS-10346] thread-safety problem when computing fingerprints 2011-07-16 13:55:23 +01:00
Jerome Lacoste f6d520d4db Fix TaskThread.ListenerAndText chicken and egg issue 2011-07-16 11:03:46 +01:00
Kohsuke Kawaguchi 9075d82712 Rotate the slave log files instead of deleting them. 2011-06-09 15:24:56 -07:00
Kohsuke Kawaguchi d5c2470370 Merge branch 'pull-152'
Conflicts:
	core/src/main/java/hudson/model/DependencyGraph.java
2011-06-07 10:44:49 -07:00
Stephen Connolly 36774c254f replace old CDDL+GPLv2 Version Number comparator with one that is both ASL and has a better understanding of Maven version numbers (with some tweaks for wildcard support)
o Had to change the logic of two test cases (2.0 is now newer than 2.0.ea and 1.12-SNAPSHOT is no longer equal to 1.11.*) both of which make more sense than the original test cases

o Should now allow custom builds with text/alpha qualifiers in the version number.
2011-06-07 17:11:47 +01:00