Commit Graph
4585 Commits
Author SHA1 Message Date
kohsuke 47d474fd57 first attempt of using the 'this' tag library to enable greater customizability by subtypes. This is enabled by stapler 1.144 integrated in rev.31891.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31892 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-10 00:56:27 +00:00
kohsuke 0118cb4c51 opened up to Run in general.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31889 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-10 00:27:12 +00:00
kohsuke 8fe700b910 added a convenience method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31888 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-09 23:53:15 +00:00
kohsuke 4ae0cc7c19 added a hook for the Cause to print a message more cleverly, possibly with ConsoleNotes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31887 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-09 23:24:29 +00:00
kohsuke 34430a33cb added a ConsoleNote for placing an arbitrary hyperlink to arbitrary text.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31886 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-09 23:14:32 +00:00
jpederzolli a7a7ec8f5e Issue: HUDSON-6587
restore container based SLI authentication



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31878 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-09 22:07:05 +00:00
kohsuke c00706f4e8 added a method to obtain a channel back to the master.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31873 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-09 19:33:39 +00:00
mindless b295d4324a [FIXED HUDSON-6673] Add setting so ListViews may show only enabled or disabled jobs.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31869 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-09 16:10:36 +00:00
mindless c5365fa7e5 Add @DataBoundConstructor for easier reuse in plugins.
See http://hudson.361315.n4.nabble.com/DataBoundConstructor-td2244199.html


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31861 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-09 00:19:44 +00:00
StevenGBrown e96c8f8f84 [FIXED HUDSON-6719] File parameters can now be downloaded from the build Parameters page
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31852 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-08 15:56:29 +00:00
kohsuke b84de862dc Added an ability to point to different update sites.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31831 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-07 16:53:50 +00:00
kohsuke 9cd3b074af Added a proactive error diagnostics to look for a broken reverse proxy setup.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31829 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-07 16:47:50 +00:00
mindless fd0e34a13f small PluginManager UI updates
- click category heading on Available tab to show/hide plugins in that category
- add initial sort for plugins on Installed tab
- no mouseover bgcolor for Advanced tab


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31819 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-07 01:11:31 +00:00
kohsuke 16bc9deb40 bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31782 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-05 18:02:52 +00:00
kohsuke 440187bbc7 added another overload that allows the caller more fine-tuning.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31781 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-05 17:51:12 +00:00
kohsuke 56f60d0eaa more convenience methods.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31780 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-05 17:50:35 +00:00
kohsuke a88a4a7467 added a convenience method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31779 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-05 17:45:46 +00:00
kohsuke 6c1e8ba9a7 added a new convenience class for building JVM parameters.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31778 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-05 17:45:04 +00:00
mindless ad87c2e646 [FIXED HUDSON-6701] make getView fallback to subview of primary view,
if that view is a ViewGroup.. this allows a Nested View to be used as
the default/primary view.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31776 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-05 16:47:05 +00:00
kohsuke b682a5b28d added an ability to use a separate object for a lock.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31751 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-05 06:06:52 +00:00
kohsuke 82252f7d56 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31740 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-04 23:26:19 +00:00
kohsuke fbb592062b moved the help file to where it should be, in the current scheme.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31705 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-03 17:16:51 +00:00
mindless 2281ccb541 avoid NPE if null href given to hyperlinkMatchesCurrentPage
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31701 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-03 16:26:58 +00:00
kohsuke c45b11b74b doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31654 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-02 23:36:13 +00:00
kohsuke 41bdf310d3 improve error diagnostics.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31636 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-02 18:47:40 +00:00
mindless af832b83d3 [HUDSON-6667] wait indefinitely for quiet down to complete,
instead of waiting just 10 seconds and proceeding with restart (not so safe!)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31633 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-02 14:41:02 +00:00
kohsuke 33120af1ea [FIXED HUDSON-6667] Background threads should run as the SYSTEM user.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31608 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-02 00:22:53 +00:00
kohsuke 4af4d5bf80 added symlink handling.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31606 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-01 23:45:02 +00:00
kohsuke c89f2f046d added stapler data binding support
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31593 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-01 20:58:58 +00:00
kohsuke 90cc821d9b Merged revisions 31455,31486,31525,31527,31531 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r31455 | mindless | 2010-05-27 22:01:37 -0700 (Thu, 27 May 2010) | 5 lines
  
  [FIXED HUDSON-6459] Fix in 1.358 did not work because exception thrown
  when Cipher is used, not when it is created.  Refactor to use a system
  property to force a particular provider, so Glassfish Enterprise users
  can workaround this glassfish bug until it is fixed.  In 1.360.
........
  r31486 | kohsuke | 2010-05-28 09:54:50 -0700 (Fri, 28 May 2010) | 1 line
  
  [HUDSON- 6654] added a system property 'hudson.DNSMultiCast.disabled' that can be set to true to disabled jmDNS entirely.
........
  r31525 | kohsuke | 2010-05-28 22:46:32 -0700 (Fri, 28 May 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_360
........
  r31527 | kohsuke | 2010-05-28 22:46:47 -0700 (Fri, 28 May 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r31531 | kohsuke | 2010-05-29 00:16:14 -0700 (Sat, 29 May 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31587 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-01 19:22:56 +00:00
mindless 4641247b11 [FIXED HUDSON-5091] better error handling for dumpExportTable
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31586 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-01 18:50:11 +00:00
StevenGBrown 33a271f65e [FIXED HUDSON-6262] File parameter builds started with the CLI command no longer throw an NPE.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31582 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-01 16:21:45 +00:00
kohsuke 4a65156106 integrated a new version of stapler that allows constructor parameter names to be retrieved from the debug info.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31575 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-31 16:14:01 +00:00
kohsuke 29c4d4d76e doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31574 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-31 16:11:22 +00:00
kohsuke 78c71a5e60 model objects should be self-persisting.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31573 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-31 16:10:38 +00:00
kohsuke 066d5637fa [FIXED HUDSON-4930] Allow the build number to be set so long as it's still bigger than the last build.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31572 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-31 16:09:47 +00:00
kohsuke 68a78d2f3c set the encoding to UTF-8
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31566 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-31 15:41:41 +00:00
mindless 027edac3a7 [FIXED HUDSON-6660] use configured/specified quiet period (delay parameter) for
parameterized build via doBuild (delay was only supported via buildWithParameters)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31544 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-30 20:40:04 +00:00
mindless 853da6b65b [FIXED HUDSON-6642] use JSON data instead of req.getParameter to avoid conflict when
fingerprinting is used more than once in form (like with promoted builds plugin).


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31536 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-29 16:08:07 +00:00
kohsuke 1921f721f7 added get(int)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31491 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-28 17:45:31 +00:00
kohsuke 71794c744a [HUDSON-6649] added additional logging so that we can see what's going on during the restart. This will be in 1.361.
If you can run it and get back to us with the output, that would allows us to figure out why safe restart isn't working for you.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31484 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-28 16:10:56 +00:00
mindless 1a28a34187 [FIXED HUDSON-6435] move "Checking cyclic dependencies" step to PLUGINS_PREPARED
to avoid possible ConcurrentModificationException when optional dependencies are
being processed in PLUGINS_LISTED phase.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31481 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-28 15:21:15 +00:00
mindless cb65e33c6b [FIXED HUDSON-6459] Fix in 1.358 did not work because exception thrown
when Cipher is used, not when it is created.  Refactor to use a system
property to force a particular provider, so Glassfish Enterprise users
can workaround this glassfish bug until it is fixed.  In 1.360.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31455 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-28 05:01:37 +00:00
jpederzolli c4f6034a11 Issue: HUDSON-2494
patch to prevent copied jobs from running until initial save



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31444 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-27 21:11:04 +00:00
kohsuke 7d3745cdef fixed NPE in case of abnormal shutdown
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31436 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-27 17:10:49 +00:00
kohsuke 374b3c0565 added a few convenience classes around Queue.Task
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31416 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-27 00:45:52 +00:00
pgweiss 886afcba04 Avoid race condition that can lead to a job being executed concurrently on two different executors by accident.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31362 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-25 16:21:10 +00:00
kbertelson 5c3ef69aed [FIXED HUDSON-6180] Queue.FlyWeightTask objects now respect labels assigned to them when scheduling. Enables Matrix Tie Parent Plugin.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31360 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-25 16:05:05 +00:00
jglick 4f84dd156b Useless Object.toString in Hudson log; should show project name & build number.
May 25, 2010 8:15:04 AM hudson.model.AbstractBuild$AbstractRunner checkout
INFO: hudson.model.FreeStyleBuild$RunnerImpl@3e4fc3 aborted
java.lang.InterruptedException
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:485)
	at java.lang.UNIXProcess.waitFor(UNIXProcess.java:165)
	at hudson.Proc$LocalProc.join(Proc.java:179)
	at hudson.Launcher$ProcStarter.join(Launcher.java:278)
	at hudson.plugins.mercurial.MercurialSCM.update(MercurialSCM.java:506)
	at hudson.plugins.mercurial.MercurialSCM.checkout(MercurialSCM.java:436)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1044)
	at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
	at hudson.model.Run.run(Run.java:1241)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:122)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31359 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-25 15:05:30 +00:00
swiest 4877dba639 Fixed typo in javadocs (trivial).
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31338 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-25 11:27:29 +00:00