Commit Graph
5182 Commits
Author SHA1 Message Date
kohsuke 9a42ec6266 If the user sets up "Hudson's own" security realm, UI now asks the first admin user to be created.
This improves the first time user experience.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20039 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-21 23:38:49 +00:00
kohsuke 8202825752 added a remove method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20038 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-21 22:55:33 +00:00
kohsuke c511f391e2 ... so that those methods can be called like regular Java methods
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20037 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-21 22:09:35 +00:00
huybrechts 20733e2cc9 Made threadPoolForLoad non-static and transient, so it is recreated for every new Hudson.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20036 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-21 21:30:40 +00:00
kohsuke 70db23bf56 Merged revisions 19919,19998,20022 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/matrix-parent

........
  r19919 | kohsuke | 2009-07-18 18:45:59 -0700 (Sat, 18 Jul 2009) | 1 line
  
  committing the work in progress.
........
  r19998 | kohsuke | 2009-07-20 18:58:15 -0700 (Mon, 20 Jul 2009) | 1 line
  
  [HUDSON-936] I believe this should do.
........
  r20022 | kohsuke | 2009-07-21 09:48:03 -0700 (Tue, 21 Jul 2009) | 1 line
  
  adding a switch to enable this selectively, so that we can give this feature a longer soak time.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20025 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-21 17:02:03 +00:00
kohsuke 0485afc898 This happens often enough that being INFO is annoying.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19992 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-21 00:43:39 +00:00
kohsuke b9cf121b67 Don't let the slave TCP/IP connection port failure to prevent Hudson start up.
(<a href="http://www.nabble.com/%22java.net.BindException%3A-Address-already-in-use%22-blocks-Hudson-td24549943.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19991 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-21 00:24:00 +00:00
kohsuke 6e1e552a89 keep it BindException
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19983 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-20 22:04:39 +00:00
kohsuke f77062a18f improved the error message to show the port number.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19975 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-20 21:06:46 +00:00
kohsuke 1966fe5325 improved the headless detection to cover OpenJDK on ARM.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19918 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-19 01:37:06 +00:00
kohsuke 3b79420eef [HUDSON-4038] To find out who's putting null, added a defensive check
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19885 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-18 22:45:26 +00:00
kohsuke f4567eb822 [FIXED HUDSON-4039] Fixed a serilization problem.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19883 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-18 22:30:57 +00:00
kohsuke 01a6d37482 [HUDSON-4044] Added logging to hudson.tasks.LogRotator so that you can get more information about what's going on. This will be in 1.317.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19881 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-18 22:17:20 +00:00
kohsuke de71106a03 <li class=bug>
Fixed a JDK path separator issue between Windows master and Unix slaves.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19862 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-18 20:21:38 +00:00
kohsuke 650b3fe13e documented auto-registration.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19820 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-17 17:48:20 +00:00
kohsuke 6f3517080b added a convenient subtype for SecurityRealm after seeing a confusion like http://www.nabble.com/Questions-with-implementing-Custom-SecurityRealm-td24524178.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19818 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-17 17:18:09 +00:00
kohsuke 0b162cb9dc Merged revisions 19665-19668,19675-19677,19683-19684,19692-19696,19701,19706-19708,19716-19722,19730,19737,19802-19803 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r19665 | kohsuke | 2009-07-13 10:48:59 -0700 (Mon, 13 Jul 2009) | 1 line
  
  merged the RC branch back. This time I saw a lot of strange merge failures. Is svnmerge interfering with Subversion 1.6 somehow?
........
  r19666 | kohsuke | 2009-07-13 10:58:37 -0700 (Mon, 13 Jul 2009) | 1 line
  
  fixed a compilation problem
........
  r19667 | kohsuke | 2009-07-13 11:51:29 -0700 (Mon, 13 Jul 2009) | 1 line
  
  The default view is now configurable.
........
  r19668 | kohsuke | 2009-07-13 12:20:49 -0700 (Mon, 13 Jul 2009) | 1 line
  
  added a reference to a typical way of creating a Launcher
........
  r19675 | kohsuke | 2009-07-13 18:58:37 -0700 (Mon, 13 Jul 2009) | 1 line
  
  doc improvement.
........
  r19676 | kohsuke | 2009-07-13 18:58:59 -0700 (Mon, 13 Jul 2009) | 1 line
  
  this makes it easier for me to discover the related tests
........
  r19677 | kohsuke | 2009-07-13 19:02:23 -0700 (Mon, 13 Jul 2009) | 3 lines
  
      Fixed a bug in Winstone that may result in "unable to create new native thread" error
      (<a href="http://www.nabble.com/OutOfMemoryError-on-all-jobs-after-a-while-td24408800.html">report</a>)
........
  r19683 | kohsuke | 2009-07-13 20:55:43 -0700 (Mon, 13 Jul 2009) | 1 line
  
  [FIXED HUDSON-1920] Applied a patch. In 1.316.
........
  r19684 | kohsuke | 2009-07-13 21:17:00 -0700 (Mon, 13 Jul 2009) | 1 line
  
  bumped up to 0.8 to fix IE7 rendering problem
........
  r19692 | kohsuke | 2009-07-14 10:22:18 -0700 (Tue, 14 Jul 2009) | 1 line
  
  added an icon for plugins
........
  r19693 | kohsuke | 2009-07-14 10:22:32 -0700 (Tue, 14 Jul 2009) | 1 line
  
  forgot to commit this file
........
  r19694 | kohsuke | 2009-07-14 10:31:12 -0700 (Tue, 14 Jul 2009) | 1 line
  
  replaced the icon
........
  r19695 | kohsuke | 2009-07-14 10:38:17 -0700 (Tue, 14 Jul 2009) | 3 lines
  
      Tentatively added additional extension points to control queue behaviors.
      (<a href="http://www.nabble.com/Queue-handling-contribution-td24322512.html">patch</a>)
........
  r19696 | kohsuke | 2009-07-14 11:48:03 -0700 (Tue, 14 Jul 2009) | 3 lines
  
      Fixed a possible NPEs with the slavestatus plugin.
      (<a href="http://www.nabble.com/Hudson-throws-NPE-after-upgrade-to-1.1315-td24476619.html">report</a>)
........
  r19701 | kohsuke | 2009-07-14 14:33:15 -0700 (Tue, 14 Jul 2009) | 1 line
  
  cherry picking from rev.19592.
........
  r19706 | kohsuke | 2009-07-14 17:03:13 -0700 (Tue, 14 Jul 2009) | 1 line
  
  fixed possible NPE
........
  r19707 | kohsuke | 2009-07-14 17:03:37 -0700 (Tue, 14 Jul 2009) | 1 line
  
  doc fix
........
  r19708 | kohsuke | 2009-07-14 17:41:37 -0700 (Tue, 14 Jul 2009) | 1 line
  
  improved error diagnostics
........
  r19716 | kohsuke | 2009-07-14 18:58:46 -0700 (Tue, 14 Jul 2009) | 3 lines
  
      Fixed a possible StringIndexOutOfBoundsException with Windows process execution.
      (<a href="https://hudson.dev.java.net/issues/show_bug.cgi?id=4034">issue 4034</a>)
........
  r19717 | mindless | 2009-07-14 19:01:52 -0700 (Tue, 14 Jul 2009) | 2 lines
  
  [FIXED HUDSON-4011] translation correction from flominator
........
  r19718 | kohsuke | 2009-07-14 19:02:24 -0700 (Tue, 14 Jul 2009) | 1 line
  
  [FIXED HUDSON-4032] Fixed in 1.316.
........
  r19719 | kohsuke | 2009-07-14 19:09:23 -0700 (Tue, 14 Jul 2009) | 1 line
  
  [HUDSON-3984] Added logging.
........
  r19720 | kohsuke | 2009-07-14 19:12:19 -0700 (Tue, 14 Jul 2009) | 1 line
  
  [HUDSON-3984] Added logging.
........
  r19721 | kohsuke | 2009-07-14 19:14:40 -0700 (Tue, 14 Jul 2009) | 1 line
  
  [HUDSON-3984] Added logging.
........
  r19722 | kohsuke | 2009-07-14 20:14:34 -0700 (Tue, 14 Jul 2009) | 1 line
  
  modernized.
........
  r19730 | kohsuke | 2009-07-15 11:49:16 -0700 (Wed, 15 Jul 2009) | 1 line
  
  [FIXED HUDSON-3803] In 1.316.
........
  r19737 | kohsuke | 2009-07-15 12:44:53 -0700 (Wed, 15 Jul 2009) | 1 line
  
  creating a new RC branch
........
  r19802 | kohsuke | 2009-07-16 19:22:06 -0700 (Thu, 16 Jul 2009) | 3 lines
  
  resurrected URLClassLoader code and made that a default after Tom reported a performance problem during a start up, caused by repeated attempt to load a non-existent class.
  
  Our current theory is that the AntClassLoader.getResourceStream(...) does repeated file system stat calls, and we suspect that is slow on NTFS. Caching a failure should help boost the performance.
........
  r19803 | kohsuke | 2009-07-16 19:31:41 -0700 (Thu, 16 Jul 2009) | 3 lines
  
                  // see http://www.nabble.com/404-Not-Found-error-when-clicking-on-help-td24508544.html
                  // I suspect some containers are returning directory names.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19805 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-17 04:16:18 +00:00
kohsuke 834d7d1669 added more logging
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19793 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-16 23:00:32 +00:00
kohsuke 958c14c2c2 <li class=rfe>
Slaves expose more information via the remote API now. 


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19776 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-16 18:31:01 +00:00
kohsuke 2390f683b4 don't let the local variable hide the field.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19739 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-15 21:20:00 +00:00
kohsuke ab3a78c5ad modernized.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19722 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-15 03:14:34 +00:00
kohsuke 9936fa4fa0 [HUDSON-3984] Added logging.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19721 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-15 02:14:40 +00:00
kohsuke d866685e86 [HUDSON-3984] Added logging.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19720 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-15 02:12:19 +00:00
kohsuke f94b155f29 [HUDSON-3984] Added logging.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19719 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-15 02:09:23 +00:00
kohsuke 3520698791 [FIXED HUDSON-4032] Fixed in 1.316.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19718 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-15 02:02:24 +00:00
kohsuke 9808c4c55f improved error diagnostics
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19708 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-15 00:41:37 +00:00
kohsuke 1eb5418742 doc fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19707 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-15 00:03:37 +00:00
kohsuke eea5a3d14e fixed possible NPE
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19706 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-15 00:03:13 +00:00
kohsuke 37aa48b0ee cherry picking from rev.19592.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19701 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-14 21:33:15 +00:00
kohsuke 4a533e530e Fixed a possible NPEs with the slavestatus plugin.
(<a href="http://www.nabble.com/Hudson-throws-NPE-after-upgrade-to-1.1315-td24476619.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19696 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-14 18:48:03 +00:00
kohsuke de68fa2568 Tentatively added additional extension points to control queue behaviors.
(<a href="http://www.nabble.com/Queue-handling-contribution-td24322512.html">patch</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19695 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-14 17:38:17 +00:00
kohsuke 27042bbc4a [FIXED HUDSON-1920] Applied a patch. In 1.316.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19683 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-14 03:55:43 +00:00
kohsuke 550e2d8c57 added a reference to a typical way of creating a Launcher
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19668 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-13 19:20:49 +00:00
kohsuke 104ea7654d The default view is now configurable.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19667 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-13 18:51:29 +00:00
kohsuke 3b7eb05e43 merged the RC branch back. This time I saw a lot of strange merge failures. Is svnmerge interfering with Subversion 1.6 somehow?
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19665 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-13 17:48:59 +00:00
kohsuke 39df5b0dd8 eliminated redundant boolean flag that can result in NPEs like described in http://www.nabble.com/SVN-repo-access-problem.-td24450388.html
The line in question is as follows:

            if(Hudson.getInstance().isUseCrumbs() && !Hudson.getInstance().getCrumbIssuer().validateCrumb(req, parser)) {


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19663 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-13 17:14:59 +00:00
kohsuke 3a115dfb8b Plugins can now hide classes in the core so that they can ship their own versions.
(<a href="http://www.nabble.com/jaxen-JDOM-classloading-issues.-td24459951.html">report</a>)



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19658 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-13 17:00:02 +00:00
jglick f3f9796222 [FIXED HUDSON-3647] Enclose URLs in build emails in angle brackets to ensure they are hyperlinked.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19652 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-13 16:12:30 +00:00
sogabe f0ce8118bf I18N again
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19595 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-10 22:19:09 +00:00
sogabe 1943d19031 I18N & Japanese localization
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19594 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-10 22:17:23 +00:00
kohsuke 029f6715f4 [FIXED HUDSON-3087] Purging workspace in Matrix job should purge all configuration workspaces, too. In 1.316.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19589 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-10 17:37:06 +00:00
kohsuke 6d3ed4c1f4 [FIXED HUDSON-840] in 1.316.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19582 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-10 16:58:51 +00:00
kohsuke ccd0e9f1ac [FIXED HUDSON-2373] in 1.316.
Fixed "incomplete LifecycleExecutor" warning with Maven 2.2
    (<a href="https://hudson.dev.java.net/issues/show_bug.cgi?id=2373">issue 2373</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19573 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-10 00:02:11 +00:00
kohsuke 5534f633dd [FIXED HUDSON-2997] NPE fix. This will be in 1.316.
The fix includes a new getPreviousCompletedBuild(), which only makes sense when we allow multiple concurrent builds per a project, which is currently being developed in a branch. Parameterized build accidentally already incorporates this behavior, so I'm making this fix in the trunk.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19570 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 21:23:19 +00:00
kohsuke 3b93eefdf0 [FIXED HUDSON-3972] Incorporated the change in 1.316.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19568 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 19:01:34 +00:00
kohsuke 285bf38bd8 removed the usage of deprecated methods
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19558 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 16:34:59 +00:00
kohsuke 9e7e52e0c7 Fixed a possible NPE in installing Windows service.
(<a href="http://d.hatena.ne.jp/ushiday/20090708">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19556 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 01:28:01 +00:00
kohsuke 58e1367ba1 Fixed a possible NPE in <tt>CrumbFilter.getCrumbIssuer</tt>.
(<a href="http://www.nabble.com/problem-on-tomcat-td24353243.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19555 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 01:03:45 +00:00
kohsuke 7b7574210e allowed this to be configured via a system property. Interim solution until we really fix the e-mail notification.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19554 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 00:55:53 +00:00
kohsuke df1e55186b Rolling back r19373-19376 as discussed in http://www.nabble.com/attention-all-subversion-users-td24335693.html to proceed with the 1.315 release
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19544 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-08 23:42:31 +00:00