Commit Graph
230 Commits
Author SHA1 Message Date
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
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
Nigel Magnay dbe586ce92 Merge remote branch 'origin/master' into momo
* origin/master: (28 commits)
  Need to run install during prepare, or else the release:perform fails miserably.
  Enabled more convenient access to the XSTREAM field
  added a method to help plugins rename classes and still keep backward compatibility
  Rely on released versions
  Test files accidentally crept in.
  modified to use the type-safe tag lib interface.
  Hooking the taglib interface generation.
  [JENKINS-9326] add integration tests with eclipse tycho relocation
  experimenting with the taglib interface generator
  fixed NPE
  Converted a few more pages into Groovy to test the behaviour. Allow global.jelly to be written in Groovy.
  Jenkins
  auto-completes instance and descriptor
  Support global.groovy as well as config.groovy
  A few more Jelly files switched to Groovy as a test
  Looks like a dead code.
  added DSLD for Eclipse
  1.166 shipped
  not specifying the file extension so that different pieces can be implemented by different view technologies
  replaced i18n by '_' since it shows up a lot.
  ...

Conflicts:
	core/src/main/java/hudson/model/Hudson.java
2011-06-07 09:42:28 +01:00
Nigel Magnay 2adef6719a Merge remote branch 'origin/master' into momo
* origin/master: (91 commits)
  Parsing can happen in the forked Maven process. Support remoting.
  Fixed the test failures.
  Strip whitespace on maven installation.
  updated ja.
  Use relative path to validate new view name (in order to allow ViewGroups like NestedView to override)
  Added i18n.
  moved to the model package to colocate with the Result class, since I don't think this class is tied by itself to the notification.
  doc improvements
  enum to describe a result trend - i.e. change from the previous to the current result
  Recording the previous change.
  Do not include trailing periods in console links.
  doc improvements
  Added a hook to customize the XML parser behaviour.
  - Renamed from 'linked' to 'base' - Fixed the bug where multi-level base setting wasn't working properly - Improved docs
  Updated style
  Added convenience method for getting configuration run
  Initial commit
  the trunk is toward 1.416-SNAPSHOT
  creating an RC branch
  updated changelog as a part of the release
  ...

Conflicts:
	core/src/main/java/hudson/slaves/NodeProvisioner.java
	maven-plugin/src/main/java/hudson/maven/MavenModule.java
	maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java
2011-06-07 09:04:40 +01:00
Kohsuke Kawaguchi 0007bab4d3 added a method to help plugins rename classes and still keep backward compatibility 2011-06-06 18:26:22 -07:00
Kohsuke Kawaguchi 5da00d03b4 Fixed the test failures. 2011-06-05 14:47:38 -07:00
Greg Heartsfield f99e3160ac Do not include trailing periods in console links.
This creates incorrect links in output from the svn-tag plugin.
2011-06-05 05:42:42 -07:00
Nigel Magnay 5679d019ec Move hudson.model.Jenkins to be jenkins.model.Jenkins - part II
Just import changes, from hudson.model.Jenkins -> jenkins.model.Jenkins,
and Javadoc comments.

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
2011-05-29 11:06:28 +01:00
Nigel Magnay 70c1065814 Stage 1 : Create hudson.model.Jenkins, make Hudson derive from Jenkins.
Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
2011-05-29 11:00:58 +01:00