Commit Graph
3459 Commits
Author SHA1 Message Date
kohsuke e29cb4b2e4 fixed the type parameterization bug. This should be both binary and source compatible.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17107 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-12 21:27:03 +00:00
mindless b3eecf7edd [FIXED HUDSON-3444] Fix javadoc browsing.
Stapler does not seem to call "<Type> doDynamic()" (though it does call
"<Type> doSomethingElse()"), so reverted to "void doDynamic(req,rsp)".
Could change this back after fix in Stapler..


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17104 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-12 16:22:07 +00:00
kohsuke ef8a3e1b1f bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17093 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-12 05:27:40 +00:00
kohsuke 57b043b762 added a method to compute the host name.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17083 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-11 22:59:51 +00:00
kohsuke 0b459561e9 added a convenience factory method to fork a connected JVM
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17065 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-11 21:18:57 +00:00
kohsuke dc086f6425 supported the zip file as well
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17064 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-11 21:17:15 +00:00
kohsuke 48f10aa2ac doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17062 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-11 19:07:05 +00:00
kohsuke 2d4ad9c1a4 added a new utility method to build a classpath
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17061 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-11 19:05:29 +00:00
kohsuke 931c589d28 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17060 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-11 19:04:54 +00:00
kohsuke 107ab805d2 Merged revisions 17033,17035-17037,17039,17041 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r17033 | kohsuke | 2009-04-10 15:22:13 -0700 (Fri, 10 Apr 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_298
........
  r17035 | kohsuke | 2009-04-10 15:22:42 -0700 (Fri, 10 Apr 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r17036 | kohsuke | 2009-04-10 17:52:13 -0700 (Fri, 10 Apr 2009) | 1 line
  
  remove JDK6 dependency
........
  r17037 | kohsuke | 2009-04-10 18:21:37 -0700 (Fri, 10 Apr 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_299
........
  r17039 | kohsuke | 2009-04-10 18:27:36 -0700 (Fri, 10 Apr 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r17041 | kohsuke | 2009-04-10 19:14:19 -0700 (Fri, 10 Apr 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17056 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-11 18:31:50 +00:00
kohsuke 2005e5e4f3 a few more convenience method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17054 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-11 15:40:38 +00:00
kohsuke 334c391116 supporting the URL that starts with '/'
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17028 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-10 07:17:30 +00:00
kohsuke d0531f5773 send password 3 times so that the wrong password will cause sudo to exit
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17024 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-10 06:29:52 +00:00
kohsuke 97e1f53942 make sure we catch all the output before moving on
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17023 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-10 06:04:56 +00:00
kohsuke 4adbf1c9b4 connected the stream
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17022 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-10 06:03:59 +00:00
kohsuke 4fe546feeb added a tester code
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17019 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-10 05:48:49 +00:00
kohsuke bd4fccf804 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17017 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-10 05:42:06 +00:00
kohsuke 380ec7342a factored out the code that does "sudo" for Callable.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17016 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-10 05:39:18 +00:00
kohsuke 3e91399493 added a convenience constructor
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16995 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-10 01:39:02 +00:00
kohsuke 8585d3d5fa added a hook for decorating launchers
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16994 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-10 01:27:08 +00:00
kohsuke 5ad3cf61f3 this doesn't belong to JDK
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16992 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-10 01:05:12 +00:00
kohsuke 8c87a6f8a1 added another extension point to perform a global translation of tools, although it turns out that I couldn't use this for the original purpose I was intending to use this.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16991 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-10 01:03:00 +00:00
jhm bd66fa5021 typo
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16959 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-09 11:06:59 +00:00
kohsuke d1bfacfda4 report that we are archiving artifacts
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16942 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-09 01:39:04 +00:00
kohsuke dabb35190e merged the last RC branch
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16922 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-08 15:47:29 +00:00
kohsuke 444aa1d2ec improved AbortException so that it can record the error message. Necessary for plugins like nunit and cppunit as discussed in HUDSON-3427.
This should be in 1.298.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16904 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-07 16:01:36 +00:00
kohsuke 50c410c9e1 too noisy
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16902 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-07 15:33:05 +00:00
abayer 3c31f1d9a1 [FIXED HUDSON-3312] - support for handling HTML in truncated descriptions properly.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16895 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-07 00:35:55 +00:00
kohsuke f498682abb <tt>$HUDSON_HOME/userContent/</tt> is now exposed under <tt>http://server/hudson/userContent/</tt>.
(<a href="http://www.nabble.com/Is-it-possible-to-add-a-custom-page-Hudson--td22794858.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16878 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-06 21:49:16 +00:00
kohsuke afddd51c7c improved the abstraction around trend charting of MultiStageTimeSeries, and used that to generate charts for memory usage tracking
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16863 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-06 04:09:14 +00:00
kohsuke 1e69a24c52 moving to the diagnosis package
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16862 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-06 03:24:12 +00:00
kohsuke 4dcb0e317d added trend reporting
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16861 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-06 03:21:57 +00:00
kohsuke 4edbb06b25 [FIXED HUDSON-3398] Allow JVM arguments to be specified for JNLP slaves.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16860 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-06 02:43:27 +00:00
huybrechts c959186b31 added extra constructor
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16858 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-05 12:50:00 +00:00
huybrechts 6b3f19be6e Merge branch 'HUDSON-2557'
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16843 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-03 20:34:16 +00:00
mindless 709586c539 [FIXED HUDSON-3319] javadoc fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16809 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-02 16:12:44 +00:00
kohsuke 6a2caa3fd0 failure to load may show up as a LinkageError, instead of ClassNotFoundException if it's one of the dependencies that have failed to load.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16790 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-02 03:17:21 +00:00
kohsuke afb811f417 pointless cast
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16789 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-02 02:58:41 +00:00
kohsuke aaacb877bc Hudson now suggests to users to create a view if there are too many jobs but no jobs yet.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16781 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-02 01:46:51 +00:00
dty bfd251bce6 Fixed copyright attributions. The copyrights belong to my employer, not me.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16780 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-01 20:42:50 +00:00
sogabe 299a556ed4 [FIXED HUDSON-3393] set "charset=UTF-8" to response header so that non-ASCII messages can be displayed correctly
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16778 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-01 13:55:10 +00:00
petehayes e97c4943c3 HUDSON-3386 Added method to return total number of configured executors for a Label and modified the Item configuration UI to check if a label has any configured executors.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16765 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-01 01:26:33 +00:00
kohsuke 0018550536 show where it's built, even if it's built on the master, if the Hudson is doing a distributed build.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16758 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-31 17:47:44 +00:00
kohsuke d9296edee9 [FIXED HUDSON-3381] DiskSpace needs to be serializable. Regression test added.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16749 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-31 01:22:49 +00:00
kohsuke 7e93f894e8 rolling back 16742 and 16743. we don't allow publisher configuration at MavenModule anyway
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16744 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-30 23:51:43 +00:00
kohsuke 0c5ed03dfd to support exclusions in MavenModule, pushed up isApplicable to ItemDescriptor from TopLevelItemDescriptor
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16742 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-30 23:09:28 +00:00
kohsuke 40a050dab6 this is slated for 1.296 now
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16741 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-30 23:02:17 +00:00
kohsuke a1239983e9 Merged revisions 16689-16697,16701-16710,16712-16714 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/HUDSON-3251

........
  r16689 | kohsuke | 2009-03-29 08:52:25 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] (1/18) moving maven-related source to maven-plugin
........
  r16690 | kohsuke | 2009-03-29 08:57:23 -0700 (Sun, 29 Mar 2009) | 4 lines
  
  [HUDSON-3251] (3/18) moved KeptBecauseOfParent message
  
  Note I skipped (2/18) to move the logic into MavenProject.DescriptorImpl.isApplicable.
........
  r16691 | kohsuke | 2009-03-29 08:58:21 -0700 (Sun, 29 Mar 2009) | 3 lines
  
  [HUDSON-3251] (4/18) removed imports and javadoc links to Maven-related classes
........
  r16692 | kohsuke | 2009-03-29 08:59:49 -0700 (Sun, 29 Mar 2009) | 2 lines
  
  [HUDSON-3251] (5/18) moving maven-related functionality to maven plugin.
........
  r16693 | kohsuke | 2009-03-29 09:01:11 -0700 (Sun, 29 Mar 2009) | 5 lines
  
  [HUDSON-3251] (5/18) moving maven-related functionality to maven plugin
  
  Forgot to add a newly created file.
........
  r16694 | kohsuke | 2009-03-29 09:02:24 -0700 (Sun, 29 Mar 2009) | 1 line
  
  needs a copyright header on all files in the core
........
  r16695 | kohsuke | 2009-03-29 09:07:03 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] (6/18) updating poms and packaging to bundle maven plugin (with a minor adjustment to revert forkMode change)
........
  r16696 | kohsuke | 2009-03-29 09:17:58 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] (6/18) updating poms and packaging to bundle maven plugin (with a minor adjustment to revert forkMode change)
........
  r16697 | kohsuke | 2009-03-29 09:38:23 -0700 (Sun, 29 Mar 2009) | 2 lines
  
  [HUDSON-3251] (7/18) add a hudson.bundled.plugins property that can override the default bundled plugins.
........
  r16701 | kohsuke | 2009-03-29 15:14:38 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] (8/18) finding Maven jars through reflection for now. TODO: introduce a post-initialization hook
........
  r16702 | kohsuke | 2009-03-29 15:20:36 -0700 (Sun, 29 Mar 2009) | 2 lines
  
  [HUDSON-3251] (10/18) use lastModified to avoid unpacking bundled plugins unnecessarily.
........
  r16703 | kohsuke | 2009-03-29 15:21:15 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] (12/18) updating poms and packaging to bundle maven plugin
........
  r16704 | kohsuke | 2009-03-29 15:37:32 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] (15/18) resolve plugins from the classpath in tests. Slightly reworked.
........
  r16705 | kohsuke | 2009-03-29 15:38:12 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] (16/18) update hpi plugin version
........
  r16706 | kohsuke | 2009-03-29 15:38:54 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] (17/18) moved createExecutedMojoCache
........
  r16707 | kohsuke | 2009-03-29 15:42:38 -0700 (Sun, 29 Mar 2009) | 3 lines
  
  [HUDSON-3251] after looking at (18/18), I think the same effect can be achieved more easily by not setting this system property at all.
  
  Or am I missing something?
........
  r16708 | kohsuke | 2009-03-29 15:43:30 -0700 (Sun, 29 Mar 2009) | 1 line
  
  formatting change
........
  r16709 | kohsuke | 2009-03-29 15:58:16 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] ignore certain builders and publishers in Maven2 job type. This does the same thing as (2/18) in Tom's patch, but I believe this is better. Still needs to figure out how to do this for MavenModule, which doesn't have a descriptor.
........
  r16710 | kohsuke | 2009-03-29 16:01:00 -0700 (Sun, 29 Mar 2009) | 1 line
  
  ignore generated files
........
  r16712 | kohsuke | 2009-03-29 16:29:05 -0700 (Sun, 29 Mar 2009) | 3 lines
  
  [HUDSON-3251] revisited patch (8/18). ComputerListener is extended to support the preOnline step, so that some operations can be carried out whose failure will result in the node failing to become online.
  
  Maven-plugin uses this now to avoid the use of reflection.
........
  r16713 | kohsuke | 2009-03-29 16:38:48 -0700 (Sun, 29 Mar 2009) | 1 line
  
  switching to fork because otherwise the test fails with PermGen out of space
........
  r16714 | kohsuke | 2009-03-29 16:39:36 -0700 (Sun, 29 Mar 2009) | 1 line
  
  no, the next version is 1.295.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16734 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-30 21:55:33 +00:00
kohsuke 46aa755267 Merged revisions 16638,16644,16652,16719-16720,16722 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r16638 | kohsuke | 2009-03-27 19:13:03 -0700 (Fri, 27 Mar 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_294
........
  r16644 | kohsuke | 2009-03-28 07:32:33 -0700 (Sat, 28 Mar 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r16652 | kohsuke | 2009-03-28 14:42:44 -0700 (Sat, 28 Mar 2009) | 1 line
  
  updated changelog as a part of the release
........
  r16719 | kohsuke | 2009-03-30 10:46:40 -0700 (Mon, 30 Mar 2009) | 3 lines
  
  [HUDSON-3382] The race condition in the boolean flag prevents form validations from kicking in during unit tests, causing regressions to ship unnoticed.
  
  Switched from a boolean to an integer so that the order of x=true / x=false won't matter.
........
  r16720 | kohsuke | 2009-03-30 10:55:00 -0700 (Mon, 30 Mar 2009) | 1 line
  
  [FIXED HUDSON-3382] NPE in .cvspass form validation. Will be in 1.295.
........
  r16722 | kohsuke | 2009-03-30 13:31:17 -0700 (Mon, 30 Mar 2009) | 1 line
  
  [HUDSON-3382] regression test. Make sure that the form validation failure gets detected.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16725 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-30 20:54:19 +00:00
kohsuke 40c89bd263 Correctly detect the platform of the target node.
This is suspected to cause http://www.nabble.com/Re%3A-Launcher.isUnix%28%29-td22792399.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16724 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-30 20:45:35 +00:00