Commit Graph
114 Commits
Author SHA1 Message Date
Brian Atkinson 1917efdc33 Clean up unused imports 2011-02-16 19:48:44 -06:00
Andrew Bayer 0e541e66b6 [FIXED JENKINS-7649] Only including one SCMTrigger.BuildAction per build, since there's only one possible polling log to link to. 2011-02-14 12:20:32 -08:00
Kohsuke Kawaguchi fcbc0629fb Moved the help files to a place where automatic wiring kicks in. 2011-01-06 13:07:51 -08:00
Kohsuke Kawaguchi 4e620598f3 Revert "Removed unused import."
This reverts commit becb2768bd.

Conflicts:

	core/src/main/java/hudson/init/InitializerFinder.java
	core/src/main/java/hudson/matrix/AxisList.java

While looking at PollingResult I noticed that import statements used in
javadoc are removed.
2011-01-06 13:07:51 -08:00
sogabe 01c787139d Fixed #36734.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36737 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-07 11:11:18 +00:00
sogabe 5d22208467 checked scm_polling_threads.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36734 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-07 04:14:21 +00:00
sogabe 6e844cc1f4 Removed unsed import.
Replaced old wiki URL.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35752 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-11 15:44:54 +00:00
mindless 7c35506bf9 netbeans complained about lack of <head> tags
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35266 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-25 16:00:55 +00:00
sogabe 4c1c943732 Fixed document.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35126 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-23 10:51:37 +00:00
sogabe 3036a61f07 i18n & Japanese localization.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35125 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-23 09:40:29 +00:00
kohsuke 2f3046a6fb Merged revisions 34879 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r34879 | kohsuke | 2010-09-15 19:23:43 -0700 (Wed, 15 Sep 2010) | 1 line
  
  turns out other guys rely on the old name.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34880 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-16 02:25:21 +00:00
kohsuke 295689128c Capture polling log that triggered a build.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34844 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 18:24:15 +00:00
kohsuke a6f62ae0cf modernized the configuration layout
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34818 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:20:36 +00:00
sogabe becb2768bd Removed unused import.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34177 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-27 18:30:35 +00:00
dty 3f5dec66c2 Fix version number in a @since.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34158 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 22:58:02 +00:00
dty d0c3ebec93 Allow transient actions to be passed through the trigger to the job to be
executed.

This will be used by the post-commit hook in the Subversion plugin to specify
the revision to check out at.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34157 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 22:38:54 +00:00
kohsuke dd84f0f560 [FIXED HUDSON-5941] in 1.352. Keep progressiveText for text/plain and serve text/html from a different URL.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28764 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-17 01:15:38 +00:00
kohsuke 3b480cfb65 Added consle annotation support to SCM polling logs.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28435 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-09 00:59:18 +00:00
kohsuke a09979d6dc report unexpected problem during the polling to the polling log
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27665 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-18 23:45:40 +00:00
kohsuke f68ab9ca82 the poll method already handles necessary mutual exclusions
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27301 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-11 01:36:52 +00:00
kohsuke dc6db9328b allow arbitrary exception. The whole point of this class is to deal gracefully with a problem, so we might just as well let the subtypes knowingly throw them.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26100 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-19 18:50:04 +00:00
kohsuke 91f80263e5 Extension points can now contribute multiple actions.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25771 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-13 20:07:01 +00:00
kohsuke fd13eee6d5 Merged revisions 23666-23667,23670,23711,23782-23785,23788,23809-23810,23817,23859,23870,23879,23899-23904,23906-23907,23909,23913 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/managed-startup

........
  r23666 | kohsuke | 2009-11-11 15:56:46 -0800 (Wed, 11 Nov 2009) | 1 line
  
  Reworked the initialization logic
........
  r23667 | kohsuke | 2009-11-11 16:01:56 -0800 (Wed, 11 Nov 2009) | 1 line
  
  fixed a failing test
........
  r23670 | kohsuke | 2009-11-11 16:42:32 -0800 (Wed, 11 Nov 2009) | 1 line
  
  use a non-snapshot
........
  r23711 | kohsuke | 2009-11-13 14:27:28 -0800 (Fri, 13 Nov 2009) | 1 line
  
  Session -> Reactor
........
  r23782 | kohsuke | 2009-11-17 10:35:14 -0800 (Tue, 17 Nov 2009) | 1 line
  
  Poorman's clone of JDK6 ServiceLoader.
........
  r23783 | kohsuke | 2009-11-17 10:56:25 -0800 (Tue, 17 Nov 2009) | 1 line
  
  Integrated the fatal support so that all errors are sent to the listener.
........
  r23784 | kohsuke | 2009-11-17 10:58:07 -0800 (Tue, 17 Nov 2009) | 1 line
  
  with the new reactor initialization, things are getting too verbose
........
  r23785 | kohsuke | 2009-11-17 11:18:45 -0800 (Tue, 17 Nov 2009) | 1 line
  
  failing to load jobs are non-fatal, too
........
  r23788 | kohsuke | 2009-11-17 13:18:59 -0800 (Tue, 17 Nov 2009) | 1 line
  
  logging the exception properly
........
  r23809 | kohsuke | 2009-11-17 18:45:47 -0800 (Tue, 17 Nov 2009) | 1 line
  
  releasing 1.1 as milestone
........
  r23810 | kohsuke | 2009-11-17 18:47:37 -0800 (Tue, 17 Nov 2009) | 2 lines
  
  - use a better idiom for building a sequence
  - use null display name to signify internal book-keeping tasks that's not worth displaying
........
  r23817 | kohsuke | 2009-11-18 07:54:17 -0800 (Wed, 18 Nov 2009) | 1 line
  
  removed accidental JDK6 dependency.
........
  r23859 | kohsuke | 2009-11-19 11:03:28 -0800 (Thu, 19 Nov 2009) | 1 line
  
  introducing the strategy pattern to hook into key decision making points during the start up
........
  r23870 | kohsuke | 2009-11-19 14:33:07 -0800 (Thu, 19 Nov 2009) | 1 line
  
  bug fix. These steps add additional tasks to the reactor, so they need to also prevent future milestones from getting attained.
........
  r23879 | kohsuke | 2009-11-19 16:54:59 -0800 (Thu, 19 Nov 2009) | 1 line
  
  moved the logic to the strategy.
........
  r23899 | kohsuke | 2009-11-20 09:32:13 -0800 (Fri, 20 Nov 2009) | 1 line
  
  handle duplicate plugins better
........
  r23900 | kohsuke | 2009-11-20 10:06:42 -0800 (Fri, 20 Nov 2009) | 1 line
  
  support pre-exploded plugin
........
  r23901 | kohsuke | 2009-11-20 10:49:04 -0800 (Fri, 20 Nov 2009) | 1 line
  
  making it a subtype
........
  r23902 | kohsuke | 2009-11-20 10:54:42 -0800 (Fri, 20 Nov 2009) | 1 line
  
  allow InitStrategy to skip some tasks
........
  r23903 | kohsuke | 2009-11-20 11:03:38 -0800 (Fri, 20 Nov 2009) | 1 line
  
  doc improvement.
........
  r23904 | kohsuke | 2009-11-20 11:03:49 -0800 (Fri, 20 Nov 2009) | 1 line
  
  no need to throw exceptions
........
  r23906 | kohsuke | 2009-11-20 11:17:34 -0800 (Fri, 20 Nov 2009) | 1 line
  
  debug switch to disable the automatic launch of slaves
........
  r23907 | kohsuke | 2009-11-20 11:25:15 -0800 (Fri, 20 Nov 2009) | 1 line
  
  added a magic object for cancelling all saves
........
  r23909 | kohsuke | 2009-11-20 11:29:53 -0800 (Fri, 20 Nov 2009) | 1 line
  
  moving initialization up
........
  r23913 | kohsuke | 2009-11-20 13:32:08 -0800 (Fri, 20 Nov 2009) | 1 line
  
  seeing heap space problem during tests
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23992 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-23 19:33:33 +00:00
mindless 20688553cb [FIXED HUDSON-4831] prevent duplicate cause entries for a build
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23699 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-13 05:47:16 +00:00
kohsuke 2e68f75312 [HUDSON-4531] extension point without a descriptor is now reported with more information for a better troubleshooting.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22098 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-24 18:59:07 +00:00
mindless 9fed9823f5 Add @Override annotations, remove unused imports,
add some copyright headers, some tab->ws


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21654 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-14 18:08:34 +00:00
kohsuke c04e63d9f0 Merged revisions 19592-19593,19651,19669,19671-19672,19709,19712-19715,19728-19729,19825-19828,19859-19861,19863-19865,19869,19874-19875,19889,19896,19908-19909,19979,19982,20106,20115,20141-20144,20184,20196,20207-20208,20215-20216,20222,20286,20293 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/concurrent-build

........
  r19592 | kohsuke | 2009-07-10 14:02:22 -0700 (Fri, 10 Jul 2009) | 1 line
  
  introduced getWorkspace() and getModuleRoot() on AbstractBuild.
........
  r19593 | kohsuke | 2009-07-10 15:06:08 -0700 (Fri, 10 Jul 2009) | 1 line
  
  introduced a flag to control the behavior, so that we can expose the feature much later after we merge the branch into the trunk.
........
  r19651 | kohsuke | 2009-07-13 08:48:31 -0700 (Mon, 13 Jul 2009) | 1 line
  
  modified to work with multiple concurrent builds
........
  r19669 | kohsuke | 2009-07-13 14:25:58 -0700 (Mon, 13 Jul 2009) | 1 line
  
  updating TODOs
........
  r19671 | kohsuke | 2009-07-13 16:50:42 -0700 (Mon, 13 Jul 2009) | 1 line
  
  committing my changes before I push this up to the Run class.
........
  r19672 | kohsuke | 2009-07-13 17:14:41 -0700 (Mon, 13 Jul 2009) | 1 line
  
  pushed the change up to the Run class, which simplifies things a bit, and avoids a race condition in the final "notifyAll" when the build is completed.
........
  r19709 | kohsuke | 2009-07-14 17:56:24 -0700 (Tue, 14 Jul 2009) | 1 line
  
  added checkpoint methods to the base type of where it's commonly used, to simplify invocations.
........
  r19712 | kohsuke | 2009-07-14 18:16:50 -0700 (Tue, 14 Jul 2009) | 1 line
  
  revisited the CheckPoint abstraction. I think this is more OO now
........
  r19713 | kohsuke | 2009-07-14 18:17:18 -0700 (Tue, 14 Jul 2009) | 1 line
  
  doc fix
........
  r19714 | kohsuke | 2009-07-14 18:23:32 -0700 (Tue, 14 Jul 2009) | 1 line
  
  replaced AbstractProject.getWorkspace() by AbstractBuild.getWorkspace(). The easy ones are done, but the harder ones remain.
........
  r19715 | kohsuke | 2009-07-14 18:32:56 -0700 (Tue, 14 Jul 2009) | 1 line
  
  more getWorkspace() changes
........
  r19728 | kohsuke | 2009-07-15 11:17:25 -0700 (Wed, 15 Jul 2009) | 1 line
  
  removed more getWorkspace() usage by getSomeWorkspace()
........
  r19729 | kohsuke | 2009-07-15 11:17:43 -0700 (Wed, 15 Jul 2009) | 1 line
  
  this is done
........
  r19825 | kohsuke | 2009-07-17 15:35:21 -0700 (Fri, 17 Jul 2009) | 4 lines
  
  - refactored SCM triggering code to avoid queueing up too many threads.
  - workspace locking only happens if the SCM declares that the polling requires a workspace.
  
  TODO: given the face of concurrent builds, a single workspace lock won't work.
........
  r19826 | kohsuke | 2009-07-17 16:21:15 -0700 (Fri, 17 Jul 2009) | 5 lines
  
  implemented the handling of polling/build mutual exclusion when polling requires a workspace.
  
  The SCMs that require a workspace for polling, such as CVS, do so by comparing the state of the workspace
  vs that of the remote. So it needs to use the workspace of the last build. Polling needs to wait for this workspace
  if it's currently in use by a build, so a wait/notify scheme was needed, and hence WorkspaceList.
........
  r19827 | kohsuke | 2009-07-17 16:32:54 -0700 (Fri, 17 Jul 2009) | 1 line
  
  removed the workspace resource lock.
........
  r19828 | kohsuke | 2009-07-17 16:40:09 -0700 (Fri, 17 Jul 2009) | 1 line
  
  got rid of the lock. A build will always allocate an available workspace, so this is no longer necessary.
........
  r19859 | kohsuke | 2009-07-18 12:45:03 -0700 (Sat, 18 Jul 2009) | 2 lines
  
  Fixing a test failure. This might be signaling a depper abstraction problem, but let's see...
........
  r19860 | kohsuke | 2009-07-18 13:10:32 -0700 (Sat, 18 Jul 2009) | 1 line
  
  bug fix
........
  r19861 | kohsuke | 2009-07-18 13:12:18 -0700 (Sat, 18 Jul 2009) | 1 line
  
  typo
........
  r19863 | kohsuke | 2009-07-18 13:25:20 -0700 (Sat, 18 Jul 2009) | 1 line
  
  pass in common parameters for convenience.
........
  r19864 | kohsuke | 2009-07-18 13:36:34 -0700 (Sat, 18 Jul 2009) | 1 line
  
  doc fix
........
  r19865 | kohsuke | 2009-07-18 13:57:55 -0700 (Sat, 18 Jul 2009) | 1 line
  
  bug fix.
........
  r19869 | kohsuke | 2009-07-18 14:07:18 -0700 (Sat, 18 Jul 2009) | 2 lines
  
  This fixes the elusive NPE in com.gargoylesoftware.htmlunit.javascript.host.Event.<init>(Event.java:164)
........
  r19874 | kohsuke | 2009-07-18 14:44:39 -0700 (Sat, 18 Jul 2009) | 1 line
  
  forgot to update this.
........
  r19875 | kohsuke | 2009-07-18 14:44:48 -0700 (Sat, 18 Jul 2009) | 1 line
  
  forgot to update this.
........
  r19889 | kohsuke | 2009-07-18 16:12:04 -0700 (Sat, 18 Jul 2009) | 1 line
  
  fixed the license header.
........
  r19896 | kohsuke | 2009-07-18 16:16:44 -0700 (Sat, 18 Jul 2009) | 1 line
  
  adding a note.
........
  r19908 | kohsuke | 2009-07-18 17:13:03 -0700 (Sat, 18 Jul 2009) | 1 line
  
  fixed a bug. The parent build will likely run on a different node, so we can't just inherit its workspace.
........
  r19909 | kohsuke | 2009-07-18 17:16:54 -0700 (Sat, 18 Jul 2009) | 1 line
  
  reorgznied imports.
........
  r19979 | kohsuke | 2009-07-20 14:22:50 -0700 (Mon, 20 Jul 2009) | 1 line
  
  [HUDSON-4060] fixed a reported ClassCastException, but I don't think that's related to the hang problem.
........
  r19982 | kohsuke | 2009-07-20 14:51:11 -0700 (Mon, 20 Jul 2009) | 31 lines
  
  increasing the error margin in response to the flaky test that causes this error:
  
  unexpected build status; build log was: ------ Legacy code started this job.  No cause information is available Recording test results Test reports were found but none of them are new. Did tests run?  For example, /tmp/hudson3604989730528561398test/jobs/test0/workspace/junit.xml is 1 sec old  Finished: FAILURE  ------  expected:<UNSTABLE> but was:<FAILURE>
  
  Stacktrace
  
  junit.framework.AssertionFailedError: unexpected build status; build log was:
  ------
  Legacy code started this job.  No cause information is available
  Recording test results
  Test reports were found but none of them are new. Did tests run? 
  For example, /tmp/hudson3604989730528561398test/jobs/test0/workspace/junit.xml is 1 sec old
  Finished: FAILURE
  ------
   expected:<UNSTABLE> but was:<FAILURE>
  	at junit.framework.Assert.fail(Assert.java:47)
  	at junit.framework.Assert.failNotEquals(Assert.java:282)
  	at junit.framework.Assert.assertEquals(Assert.java:64)
  	at org.jvnet.hudson.test.HudsonTestCase.assertBuildStatus(HudsonTestCase.java:520)
  	at hudson.tasks.junit.CaseResultTest.testIssue20090516(CaseResultTest.java:74)
  
  Standard Output
  
  === Starting testIssue20090516
  
  Standard Error
  
  2009-07-20 07:20:23.430::INFO:  jetty-6.1.11
  2009-07-20 07:20:23.434::INFO:  NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
  2009-07-20 07:20:23.436::INFO:  Started SocketConnector@0.0.0.0:45218
........
  r20106 | kohsuke | 2009-07-24 10:27:30 -0700 (Fri, 24 Jul 2009) | 1 line
  
  adding a few well-known check points to expose them to plugins.
........
  r20115 | kohsuke | 2009-07-24 14:42:58 -0700 (Fri, 24 Jul 2009) | 3 lines
  
  Added a mechanism to handle the compatibility with earlier plugins. Have plugins declare the synchronization service it expects Hudson to provide.
  
  This being binary compatible change allows Hudson to use existing plugins correctly, but it's source incompatibility allows us to advertize the new semantics to plugin developers, new or old.
........
  r20141 | kohsuke | 2009-07-24 19:03:07 -0700 (Fri, 24 Jul 2009) | 1 line
  
  better type safety
........
  r20142 | kohsuke | 2009-07-24 19:13:43 -0700 (Fri, 24 Jul 2009) | 1 line
  
  update the thread name to make the thread dump more understandable.
........
  r20143 | kohsuke | 2009-07-24 19:22:12 -0700 (Fri, 24 Jul 2009) | 1 line
  
  fixed a compilation problem.
........
  r20144 | kohsuke | 2009-07-24 19:30:22 -0700 (Fri, 24 Jul 2009) | 1 line
  
  fixed a test failure. Runner needs to be a stack.
........
  r20184 | kohsuke | 2009-07-27 10:51:20 -0700 (Mon, 27 Jul 2009) | 3 lines
  
  When remote JVM (in this case Maven) calls back to the proxy object, the executing thread needs to be able to behave as if it's the executor thread. So added the necessary abstractions for doing that.
  
  It might have been better to do this in the remoting, by using the blocking caller thread to serve requests. That would be harder, but it gets rid of this ugly ThreadLocal book keeping.
........
  r20196 | kohsuke | 2009-07-27 13:22:33 -0700 (Mon, 27 Jul 2009) | 1 line
  
  Fixed a test failure. The proxy interface needs to be public for the interceptor to be able to invoke it.
........
  r20207 | kohsuke | 2009-07-27 17:27:35 -0700 (Mon, 27 Jul 2009) | 1 line
  
  [HUDSON-4060] this class-level synchronization has a devastating effect as it effectively creates a single giant lock for the entire Hudson and can cause a dead lock.
........
  r20208 | kohsuke | 2009-07-27 17:28:58 -0700 (Mon, 27 Jul 2009) | 1 line
  
  improved the thread name.
........
  r20215 | kohsuke | 2009-07-28 10:58:15 -0700 (Tue, 28 Jul 2009) | 1 line
  
  added form databinding support for <f:optionalBlock>
........
  r20216 | kohsuke | 2009-07-28 11:00:35 -0700 (Tue, 28 Jul 2009) | 1 line
  
  concurrent build is now a switch activated for each project separately.
........
  r20222 | kohsuke | 2009-07-28 15:30:18 -0700 (Tue, 28 Jul 2009) | 3 lines
  
  bug fix in the rendering of the build history when you have some builds finished earlier than their earlier builds that are still in progress.
  
  This also fixes a race condition in a non concurrent build case, which can result in some build #s showing up more than once after AJAX update if the status of the build changes between the computation of 'nn' and that of the rendering.
........
  r20286 | kohsuke | 2009-07-29 11:05:00 -0700 (Wed, 29 Jul 2009) | 1 line
  
  still fixing more build list update issues. The original fix only kicked in for the list produced by AJAX, and didn't work for the initial list.
........
  r20293 | kohsuke | 2009-07-29 17:03:20 -0700 (Wed, 29 Jul 2009) | 1 line
  
  simplified a bit
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20296 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-30 00:47:34 +00:00
kohsuke 77172f6a48 removing final
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18961 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 17:48:01 +00:00
kohsuke 7b7d126945 avoid using deprecated methods
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18914 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-15 20:27:44 +00:00
kohsuke 52277c5bf2 Hudson now handles unexpected failures in trigger plugins more gracefully.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17621 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-29 16:31:30 +00:00
kohsuke 7afb488987 [FIXED HUDSON-2324] applied a patch.
I tweaked the patch slightly so that all the background activity gets SYSTEM credential automatically. I think this is less error prone for plugin developers.
This change will be in 1.301.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17297 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-20 17:19:21 +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 f27e2b5c8a Using new form validation code
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16462 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-23 03:26:55 +00:00
kohsuke 6851883e8f noting why I'm doing a null check.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16422 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-21 00:19:53 +00:00
kohsuke 37826583e9 some Describables written for tests may return null.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16421 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-21 00:18:55 +00:00
kohsuke 2d1846b70b extended filtering to Triggers
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16418 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-21 00:05:33 +00:00
kohsuke 2d486947a9 PeriodicWork is made an extension point, and existing manual registration code is modified to use this registration mechanism.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16354 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-17 23:19:05 +00:00
kohsuke d02065c09a improved parameterization of DescriptorExtensionList to better support custom Descriptor type.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15667 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 19:44:48 +00:00
kohsuke 2a1798e08f promoted DescriptorSubList to DescriptorExtensionList so that we can have Descriptor-specific methods.
Added a test case

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15602 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-23 23:13:54 +00:00
kohsuke d4c6a4b06c added an auto-discovery mechanism for extension points (and most notably Descriptors.)
- extensions are now stored in ExtensionList.
- discovery is extensible, but by default we use Sezpoz for annotation-based injection. This requires JDK6 for build.
- a care has been taken to preserve backward compatibility. DescriptorList and manually adding to it continues to work.
- AdministrativeMonitor is converted to use the new approach entirely, as a guinea pig of this feature.
- Descriptors for View is partially switched to this new approach, where some classes register automatically while others do manually. This tests the compatibility aspect of this feature.

A pluggable discovery is an attempt to embrace Plexus integration work, although for that to really work we need more coding.

Next stop, more tests.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15601 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-23 21:54:22 +00:00
kohsuke eb0ca615ea simplified by introducing a default
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15241 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-11 21:42:07 +00:00
mindless 5fcb745808 [HUDSON-291] Export CauseAction so exported Causes can be accessed via /api/.
Export base Cause class and its short description instead of on every subclass.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15237 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-11 18:16:50 +00:00
sogabe ed2ca8f4b6 Added I18N and L10N(ja) for Cause
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15212 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-10 23:31:20 +00:00
kohsuke 8eb167ba43 to improve diagnosability, set the thread name to indicate what it's polling.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15209 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-10 22:40:56 +00:00
mdonohue 1782e10dc4 Fix HUDSON-291
We now add a CauseAction to each job, and a summary.jelly file which renders
the cause on any job with an explanation.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15150 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 02:12:12 +00:00
kohsuke 1a1d0d74d5 license header clean up
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15081 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 20:05:24 +00:00
mindless 131eefb10d design rejected, revert r14823,14824
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14826 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-27 23:57:27 +00:00
mindless 73fad75d04 [FIXED HUDSON-291] Add new ItemListener.onScheduled(Queue.Task) interface method
and invoke this from Queue.add().  Hudson registers a listener to write what
triggered each build into the console output.
BuildableItem.scheduleBuild() now takes triggeredBy parameter,
ParameterizedProjectTask stores triggeredBy value for scheduled tasks,
and Trigger has scheduleBuild convenience methods to use its descriptor's
displayName as the triggeredBy value.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14823 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-27 18:43:20 +00:00
kohsuke ac848d085f Descriptor can infer the corresponding Describable most of the time, because it's the outer class.
This is more DRY.

This should also work for anonymous classes, so those changes to follow.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14747 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-23 16:09:15 +00:00