Commit Graph

437 Commits

Author SHA1 Message Date
kohsuke 7e9493ca3f Merged revisions 16922,16924,16926 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r16922 | kohsuke | 2009-04-08 08:47:29 -0700 (Wed, 08 Apr 2009) | 1 line
  
  merged the last RC branch
........
  r16924 | kohsuke | 2009-04-08 08:48:26 -0700 (Wed, 08 Apr 2009) | 1 line
  
  creating a new RC branch
........
  r16926 | kohsuke | 2009-04-08 08:53:52 -0700 (Wed, 08 Apr 2009) | 1 line
  
  merge failure
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16930 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-08 21:09:49 +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 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
kohsuke c2f46f3438 [HUDSON-2154] Attempted to reproduce a problem but it worked.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16856 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-05 00:19:03 +00:00
kohsuke af07d8a215 [FIXED HUDSON-3415] XSS vulnerability in the search box. Fixed in 1.297.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16855 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-04 17:11:19 +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
kohsuke 6521d8efce added a new assertion method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16839 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-02 23:29:15 +00:00
jglick c9a0ec6216 NetBeans fix to compile-on-save mode means it can be used for Hudson tests.
http://www.netbeans.org/nonav/issues/show_bug.cgi?id=161085


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16820 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-02 16:40:18 +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 731d47712a Make CaseResultTest work outside the context of the java.net svn repo.
- Moved setJavaNetCredentials up to HudsonTestCase

   main/test/src/test/java/hudson/scm/SubversionSCMTest.java
   main/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java

  - Call setJavaNetCredentials to get guess access to repo. Changed URL
    from www.dev.java.net to svn.dev.java.net to match the URL that the
    credentials are set for. Added copyright notice.

   main/test/src/test/java/hudson/tasks/junit/CaseResultTest.java



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16769 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-01 03:51:18 +00:00
kohsuke f386fe3a20 Drop-down combobox to select a repository browser all had the same title.
See http://www.nabble.com/Possible-bug--Showing-%22Associated-Mantis-Website%22-in-scm-repository-browser-tt22786295.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16754 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-31 04:54:14 +00:00
kohsuke e51d990bc0 improving the headless environment detection.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16750 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-31 01:30:19 +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 2ca4527caf copyright header needed
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16739 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-30 22:28:14 +00:00
kohsuke b0213d3a18 formatting changes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16738 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-30 22:26:54 +00:00
kohsuke ff255dc6ab added a test to verify that the exclusion is working
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16737 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-30 22:26:41 +00:00
kohsuke 99fea57e8d Merged revisions 16726,16728,16732 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r16726 | kohsuke | 2009-03-30 13:57:27 -0700 (Mon, 30 Mar 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_295
........
  r16728 | kohsuke | 2009-03-30 13:57:53 -0700 (Mon, 30 Mar 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r16732 | kohsuke | 2009-03-30 14:35:25 -0700 (Mon, 30 Mar 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16735 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-30 21:59:37 +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 1419cef385 Merged revisions 16441,16451,16459,16462-16467,16473,16475-16489,16491-16492,16494,16496,16499-16502,16504-16506,16508-16515,16518-16519,16536,16540,16544-16545,16565-16566,16568,16577 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

................
  r16441 | kohsuke | 2009-03-20 19:14:25 -0700 (Fri, 20 Mar 2009) | 25 lines
  
  Merged revisions 16380-16381,16433,16435,16438 via svnmerge from 
  https://www.dev.java.net/svn/hudson/branches/rc
  
  ........
    r16380 | kohsuke | 2009-03-19 17:10:38 -0700 (Thu, 19 Mar 2009) | 1 line
    
    PeriodicWork change broke the tests, because the timer registration wasn't kicking in
  ........
    r16381 | kohsuke | 2009-03-19 17:33:14 -0700 (Thu, 19 Mar 2009) | 1 line
    
    fixed a test so that it's no longer timing sensitive
  ........
    r16433 | kohsuke | 2009-03-20 18:35:55 -0700 (Fri, 20 Mar 2009) | 1 line
    
    [maven-release-plugin] prepare release hudson-1_293
  ........
    r16435 | kohsuke | 2009-03-20 18:36:21 -0700 (Fri, 20 Mar 2009) | 1 line
    
    [maven-release-plugin] prepare for next development iteration
  ........
    r16438 | kohsuke | 2009-03-20 19:10:29 -0700 (Fri, 20 Mar 2009) | 1 line
    
    updated changelog as a part of the release
  ........
................
  r16451 | jglick | 2009-03-21 11:06:02 -0700 (Sat, 21 Mar 2009) | 2 lines
  
  The word "Javadoc" is conventionally capitalized.
................
  r16459 | kohsuke | 2009-03-22 11:56:36 -0700 (Sun, 22 Mar 2009) | 3 lines
  
  introduced a new scheme to the form field validation, that makes the check feel more like a function.
  
  Using it in a few places to begin with
................
  r16462 | kohsuke | 2009-03-22 20:26:55 -0700 (Sun, 22 Mar 2009) | 1 line
  
  Using new form validation code
................
  r16463 | kohsuke | 2009-03-22 20:36:42 -0700 (Sun, 22 Mar 2009) | 1 line
  
  removed warnings
................
  r16464 | kohsuke | 2009-03-22 20:42:03 -0700 (Sun, 22 Mar 2009) | 1 line
  
  added documentation and supported checkUrl computation with @field inheritance
................
  r16465 | kohsuke | 2009-03-22 20:53:12 -0700 (Sun, 22 Mar 2009) | 1 line
  
  formatting fix
................
  r16466 | kohsuke | 2009-03-22 20:56:12 -0700 (Sun, 22 Mar 2009) | 1 line
  
  configuration roundtrip test case
................
  r16467 | kohsuke | 2009-03-22 22:57:19 -0700 (Sun, 22 Mar 2009) | 4 lines
  
  - updated commons-jexl to support "x?y:z" and "x?:y" operators
  - updated stapler to fix test failures
................
  r16473 | swiest | 2009-03-23 06:54:23 -0700 (Mon, 23 Mar 2009) | 1 line
  
  Added some German help files.
................
  r16475 | jglick | 2009-03-23 08:42:11 -0700 (Mon, 23 Mar 2009) | 1 line
  
  NPE thrown when AbstractProject.scm==null.
................
  r16476 | kohsuke | 2009-03-23 09:05:59 -0700 (Mon, 23 Mar 2009) | 1 line
  
  started puttin elvis operator
................
  r16477 | kohsuke | 2009-03-23 09:17:26 -0700 (Mon, 23 Mar 2009) | 2 lines
  
  - supportede @default
  - using the elvis operator
................
  r16478 | kohsuke | 2009-03-23 09:19:50 -0700 (Mon, 23 Mar 2009) | 1 line
  
  added documentation
................
  r16479 | kohsuke | 2009-03-23 09:24:35 -0700 (Mon, 23 Mar 2009) | 1 line
  
  using elvis
................
  r16480 | kohsuke | 2009-03-23 09:27:27 -0700 (Mon, 23 Mar 2009) | 1 line
  
  using the form field binding
................
  r16481 | kohsuke | 2009-03-23 09:52:27 -0700 (Mon, 23 Mar 2009) | 1 line
  
  fixed NPE
................
  r16482 | kohsuke | 2009-03-23 10:09:43 -0700 (Mon, 23 Mar 2009) | 1 line
  
  follow the instance/descriptor pattern
................
  r16483 | kohsuke | 2009-03-23 10:11:41 -0700 (Mon, 23 Mar 2009) | 3 lines
  
  JEXL bug fix.
  
  My plugin somehow stopped checking JEXL syntax.
................
  r16484 | kohsuke | 2009-03-23 10:13:06 -0700 (Mon, 23 Mar 2009) | 1 line
  
  Added DescriptorByNameOwner to enable context-sensitive descriptor mapping in a generic way.
................
  r16485 | kohsuke | 2009-03-23 10:14:35 -0700 (Mon, 23 Mar 2009) | 1 line
  
  updated to use form field databinding
................
  r16486 | kohsuke | 2009-03-23 11:18:18 -0700 (Mon, 23 Mar 2009) | 1 line
  
  replaced h.ifThenElse with "x?y:z" (and occasionally with "x?:y")
................
  r16487 | kohsuke | 2009-03-23 11:21:12 -0700 (Mon, 23 Mar 2009) | 1 line
  
  Noting that "x?y:z" supercedes h.ifThenElse.
................
  r16488 | kohsuke | 2009-03-23 11:22:12 -0700 (Mon, 23 Mar 2009) | 1 line
  
  Noting that "x?y:z" supercedes h.ifThenElse.
................
  r16489 | kohsuke | 2009-03-23 11:26:49 -0700 (Mon, 23 Mar 2009) | 1 line
  
  replaced "h.defaulted(x,y)" with "x?:y"
................
  r16491 | kohsuke | 2009-03-23 12:18:50 -0700 (Mon, 23 Mar 2009) | 1 line
  
  another script to print the version string from POM
................
  r16492 | kohsuke | 2009-03-23 12:34:09 -0700 (Mon, 23 Mar 2009) | 1 line
  
  Generated RSS 2.0 feeds weren't properly escaping e-mail addresses.
................
  r16494 | kohsuke | 2009-03-23 15:49:37 -0700 (Mon, 23 Mar 2009) | 1 line
  
  bug fix
................
  r16496 | kohsuke | 2009-03-23 15:52:08 -0700 (Mon, 23 Mar 2009) | 1 line
  
  Hudson now monitors the temporary directory to forestall disk out of space problems.
................
  r16499 | kohsuke | 2009-03-23 17:01:50 -0700 (Mon, 23 Mar 2009) | 1 line
  
  indentation fix
................
  r16500 | kohsuke | 2009-03-23 17:04:27 -0700 (Mon, 23 Mar 2009) | 1 line
  
  Moving the cobertura magic to a profile so that POM won't prevent NetBeans from running a single unit test.
................
  r16501 | kohsuke | 2009-03-23 17:05:00 -0700 (Mon, 23 Mar 2009) | 1 line
  
  intelliJ keep stealing the keyboard focus, preventing me from multi-tasking
................
  r16502 | kohsuke | 2009-03-24 06:54:55 -0700 (Tue, 24 Mar 2009) | 1 line
  
  bug fix and simplification with new stapler features
................
  r16504 | kohsuke | 2009-03-24 07:19:30 -0700 (Tue, 24 Mar 2009) | 1 line
  
  added configuration roundtrip testing
................
  r16505 | kohsuke | 2009-03-24 17:31:02 -0700 (Tue, 24 Mar 2009) | 1 line
  
  Fixed unit tests that I broke
................
  r16506 | kohsuke | 2009-03-24 17:41:15 -0700 (Tue, 24 Mar 2009) | 3 lines
  
  this is probably a left-over from an early experiment.
  
  We should only hit one repository to improve the build time
................
  r16508 | kohsuke | 2009-03-24 19:32:12 -0700 (Tue, 24 Mar 2009) | 3 lines
  
  "mvn -Pcobertura install" will now run unit tests with Cobertura.
  
  The coverage data file will be published to the Maven repository for further aggregation.
................
  r16509 | kohsuke | 2009-03-24 20:45:59 -0700 (Tue, 24 Mar 2009) | 1 line
  
  missing serialVersionUID
................
  r16510 | kohsuke | 2009-03-24 21:22:50 -0700 (Tue, 24 Mar 2009) | 3 lines
  
  forked Maven shouldn't see the Maven debug options.
  
  This is only needed during debuggig Hudson and never in production, but this is the only place where we can put this code.
................
  r16511 | kohsuke | 2009-03-24 22:08:13 -0700 (Tue, 24 Mar 2009) | 1 line
  
  instrumenting the remoting.jar causes the tests to fail, because they are used to start brand-new JVMs
................
  r16512 | kohsuke | 2009-03-24 22:08:50 -0700 (Tue, 24 Mar 2009) | 1 line
  
  fail method isn't available in this scope
................
  r16513 | kohsuke | 2009-03-24 22:17:10 -0700 (Tue, 24 Mar 2009) | 1 line
  
  record the thread name during the load operation to assist trouble-shooting
................
  r16514 | kohsuke | 2009-03-24 22:21:00 -0700 (Tue, 24 Mar 2009) | 3 lines
  
  turns out TFS plugin is using this method.
  
  Detected via the bleeding-edge plugin builds
................
  r16515 | kohsuke | 2009-03-24 22:23:55 -0700 (Tue, 24 Mar 2009) | 1 line
  
  code coverage report from the test harness needs to refer to the core/src/main/java.
................
  r16518 | swiest | 2009-03-25 03:21:05 -0700 (Wed, 25 Mar 2009) | 1 line
  
  Updated some German localization resources.
................
  r16519 | swiest | 2009-03-25 03:22:58 -0700 (Wed, 25 Mar 2009) | 1 line
  
  Removed file that was accidentally committed.
................
  r16536 | kohsuke | 2009-03-25 09:46:42 -0700 (Wed, 25 Mar 2009) | 41 lines
  
  enforcer rule should cover the whole core, since the remoting bulid fails on some JDK5 versions.
  
  ----------
  [INFO] ----------------------------------------------------------------------------
  [INFO] Building Hudson remoting layer
  [INFO]    task-segment: [install]
  [INFO] ----------------------------------------------------------------------------
  [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from m.g.o-public
  [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from m.g.o-public
  [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for updates from m.g.o-public
  [INFO] [enforcer:display-info {execution: default}]
  [INFO] Maven Version: 2.0.7
  [INFO] JDK Version: 1.5.0_06 normalized as: 1.5.0-6
  [INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 2.6.27-11-generic
  [INFO] [remote-resources:process {execution: default}]
  [INFO] inceptionYear not specified, defaulting to 2009
  [INFO] [resources:resources]
  [WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered resources, i.e. build is platform dependent!
  [INFO] Copying 1 resource
  [INFO] [compiler:compile]
  [INFO] Compiling 46 source files to /files/hudson/workspace/hudson-cobertura/main/remoting/target/classes
  [INFO] ------------------------------------------------------------------------
  [ERROR] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Compilation failure
  /files/hudson/workspace/hudson-cobertura/main/remoting/src/main/java/hudson/remoting/Request.java:[133,16] unreported exception java.lang.Throwable; must be caught or declared to be thrown
  
  
  
  /files/hudson/workspace/hudson-cobertura/main/remoting/src/main/java/hudson/remoting/Request.java:[133,16] unreported exception java.lang.Throwable; must be caught or declared to be thrown
  
  
  [INFO] ------------------------------------------------------------------------
  [INFO] For more information, run Maven with the -e switch
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 11 seconds
  [INFO] Finished at: Wed Mar 25 09:42:20 PDT 2009
  [INFO] Final Memory: 40M/207M
  [INFO] ------------------------------------------------------------------------
  Finished: FAILURE
................
  r16540 | kohsuke | 2009-03-25 10:17:41 -0700 (Wed, 25 Mar 2009) | 1 line
  
  [HUDSON-2800] added more logging so that we can see what's really going on.
................
  r16544 | kohsuke | 2009-03-25 11:15:54 -0700 (Wed, 25 Mar 2009) | 1 line
  
  added debug switch to maximize the logging level for Maven. See http://www.nabble.com/Bug%3A-Hudson-M2-projects-appear-to-ignore-%7E-.m2-settings.xml-when-first-parsing-pom.xml-td22683417.html
................
  r16545 | kohsuke | 2009-03-25 11:17:13 -0700 (Wed, 25 Mar 2009) | 1 line
  
  fixed a javadoc bug
................
  r16565 | kohsuke | 2009-03-25 17:50:10 -0700 (Wed, 25 Mar 2009) | 1 line
  
  generate XML report for Hudson integration
................
  r16566 | kohsuke | 2009-03-25 17:52:28 -0700 (Wed, 25 Mar 2009) | 1 line
  
  using new stapler
................
  r16568 | kohsuke | 2009-03-25 19:07:38 -0700 (Wed, 25 Mar 2009) | 2 lines
  
  Release branch for 1.294.
................
  r16577 | kohsuke | 2009-03-26 09:47:01 -0700 (Thu, 26 Mar 2009) | 1 line
  
  fixed a test failure. legacy descriptors and extensions weren't cleaned up at the end of a test.
................


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16578 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-26 17:00:22 +00:00
kohsuke 87fdc18151 code coverage report from the test harness needs to refer to the core/src/main/java.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16515 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-25 05:23:55 +00:00
kohsuke 5d448816d5 instrumenting the remoting.jar causes the tests to fail, because they are used to start brand-new JVMs
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16511 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-25 05:08:13 +00:00
kohsuke 2f496439f1 "mvn -Pcobertura install" will now run unit tests with Cobertura.
The coverage data file will be published to the Maven repository for further aggregation.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16508 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-25 02:32:12 +00:00
kohsuke 3924a16dff this is probably a left-over from an early experiment.
We should only hit one repository to improve the build time

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16506 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-25 00:41:15 +00:00
kohsuke 76da65e322 added configuration roundtrip testing
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16504 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-24 14:19:30 +00:00
kohsuke ed25e115e2 configuration roundtrip test case
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16466 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-23 03:56:12 +00:00
kohsuke 72242fcddf Merged revisions 16380-16381,16433,16435,16438 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r16380 | kohsuke | 2009-03-19 17:10:38 -0700 (Thu, 19 Mar 2009) | 1 line
  
  PeriodicWork change broke the tests, because the timer registration wasn't kicking in
........
  r16381 | kohsuke | 2009-03-19 17:33:14 -0700 (Thu, 19 Mar 2009) | 1 line
  
  fixed a test so that it's no longer timing sensitive
........
  r16433 | kohsuke | 2009-03-20 18:35:55 -0700 (Fri, 20 Mar 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_293
........
  r16435 | kohsuke | 2009-03-20 18:36:21 -0700 (Fri, 20 Mar 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r16438 | kohsuke | 2009-03-20 19:10:29 -0700 (Fri, 20 Mar 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16441 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-21 02:14:25 +00:00
kohsuke d2c4999a80 test case for capturing output from Maven
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16412 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-20 23:15:32 +00:00
kohsuke 8962a43c01 monitor the HUDSON_HOME consumption by itself
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16365 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-18 21:47:34 +00:00
kohsuke 36ce3b825b supported a form with multiple submit buttons
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16364 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-18 17:24:00 +00:00
kohsuke 0db57d2902 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16362 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-18 02:22:11 +00:00
kohsuke 86548f1850 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16234 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-14 01:49:52 +00:00
kohsuke db8b7f6517 [maven-release-plugin] prepare release hudson-1_292
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16232 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-14 01:05:57 +00:00
kohsuke a9c2567127 We might be handling environment variables for a slave that can have different path separator than the master, so this is an attempt to get it right. It's still more error prone that I'd like, but this should mostly work for our usage pattern.
The real problem is that AbstractBuild.getEnvVars() is designed to return overrides, not the whole thing. This was OK until recently, when we started using environment variables to eagerly perform variable expansions inside Builder/Publisher, which requires them to see the entire variables.
 


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16226 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-13 21:55:02 +00:00
kohsuke 8f18fd0523 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16162 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-11 02:19:31 +00:00
kohsuke d5cc7ab394 [maven-release-plugin] prepare release hudson-1_291
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16160 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-11 02:19:06 +00:00
jglick 5b28310d28 [FIXED HUDSON-3267] api/xml?xpath=...&wrapper=... behaved inconsistently for results of size 0 or 1.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16157 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-11 01:19:07 +00:00
kohsuke c94bdaa30d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16079 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-07 00:38:23 +00:00
kohsuke 68bc9ab122 [maven-release-plugin] prepare release hudson-1_290
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16077 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-07 00:37:22 +00:00
kohsuke e7abed5acc fixed a bug in the test case
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16076 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-07 00:15:52 +00:00
kohsuke abe8631fe1 improved failure reporting in case of error
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16075 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-07 00:15:42 +00:00
huybrechts 4be1e18284 add a smoke test for native Maven projects on master and slave
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16074 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-06 23:31:29 +00:00
huybrechts b27c035371 fix DirectoryBrowserSupportTest on windows
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16073 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-06 23:30:55 +00:00
kohsuke 15dfef2857 Fixed a regression in the fingerprinter & archiver interaction in the matrix project
(<a href="http://www.nabble.com/1.286-version-and-fingerprints-option-broken-.-td22236618.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16066 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-06 20:20:21 +00:00
kohsuke ddf321c133 Set the credential to access java.net.
See http://www.nabble.com/More-Hudson-unit-test-failures-td22320769.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16044 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-06 02:10:34 +00:00
kohsuke ec1b0e42e7 added descriptions to help people see what these modules do
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16036 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-05 19:22:27 +00:00
kohsuke cf573086d4 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16035 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-05 18:52:35 +00:00
kohsuke f339f14942 [maven-release-plugin] prepare release hudson-1_289
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16033 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-05 18:46:41 +00:00
kohsuke 800d78e05c fixing a test case. The error I get is:
hudson.util.IOException2: remote file operation failed
        at hudson.FilePath.act(FilePath.java:430)
        at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:426)
        at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:315)
        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:272)
        at hudson.model.Run.run(Run.java:896)
        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234)
        at hudson.model.ResourceController.execute(ResourceController.java:93)
        at hudson.model.Executor.run(Executor.java:119)
Caused by: java.io.IOException: Cannot run program "env": java.io.IOException: error=2, No such file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
        at java.lang.Runtime.exec(Runtime.java:593)
        at java.lang.Runtime.exec(Runtime.java:431)
        at java.lang.Runtime.exec(Runtime.java:328)
        at org.codehaus.plexus.util.cli.CommandLineUtils.getSystemEnvVars(CommandLineUtils.java:250)
        at org.codehaus.plexus.util.cli.CommandLineUtils.getSystemEnvVars(CommandLineUtils.java:216)
        at org.apache.maven.project.interpolation.RegexBasedModelInterpolator.<init>(RegexBasedModelInterpolator.java:63)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:44)
        at org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(DefaultPlexusContainer.java:1464)
        at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:93)
        at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:92)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331)
        at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:129)
        at org.codehaus.plexus.component.composition.FieldComponentComposer.assembleComponent(FieldComponentComposer.java:73)
        at org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:68)
        at org.codehaus.plexus.DefaultPlexusContainer.composeComponent(DefaultPlexusContainer.java:1486)
        at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:29)
        at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:101)
        at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:105)
        at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:95)
        at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:92)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331)
        at org.codehaus.plexus.embed.Embedder.lookup(Embedder.java:78)
        at hudson.maven.MavenEmbedder.start(MavenEmbedder.java:686)
        at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:106)
        at hudson.tasks.Maven$MavenInstallation.createEmbedder(Maven.java:420)
        at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:730)
        at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:676)
        at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1283)
        at hudson.remoting.UserRequest.perform(UserRequest.java:92)
        at hudson.remoting.UserRequest.perform(UserRequest.java:46)
        at hudson.remoting.Request$2.run(Request.java:236)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16029 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-05 17:59:20 +00:00
jglick b1fe504b7d [FIXED HUDSON-3227] Do not archive empty directories.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16026 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-05 04:58:02 +00:00
jglick c045600a72 NetBeans "quick run" mode for unit tests does not seem to work in this module.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16025 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-05 04:57:22 +00:00
huybrechts 5cbb6f5e38 accounting for spaces in Java path in test case
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15990 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-03 21:19:34 +00:00
huybrechts 8f6338b83e Fixing a bug where a slave has a ToolLocationNodeProperty but some installation does not use it. Also adding test for native Maven2 with ToolLocation
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15989 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-03 21:18:08 +00:00
mindless e2e3ac2e05 [FIXED HUDSON-3168] "return changesFound;" was inside for-loop for multiple locations,
so pollChanges always returned after checking only first location.
Also fixed form field validator to handle unix newlines.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15981 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-03 19:52:56 +00:00
kohsuke 36938c75a3 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15956 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-03 01:20:20 +00:00
kohsuke 2223d8a3fa [maven-release-plugin] prepare release hudson-1_288
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15954 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-03 01:12:27 +00:00
kohsuke d2a8dfb771 handle plugin to plugin dependencies
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15947 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-02 21:55:10 +00:00
huybrechts 3370ee3e31 support for environment variables in native Maven builds
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15927 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-01 20:43:52 +00:00
huybrechts 7aea741545 added comment for handling test failures on windows
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15926 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-01 20:31:35 +00:00
huybrechts b2d911888f changed WarExploder to account for when main directory it not called main
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15925 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-01 20:28:08 +00:00
huybrechts d35f675d3f preferring locally installed Ant
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15924 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-01 20:27:17 +00:00
kohsuke 936f6fb21d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15844 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-27 15:33:12 +00:00
kohsuke 7e96622a69 [maven-release-plugin] prepare release hudson-1_287
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15842 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-27 15:32:14 +00:00
kohsuke ff005a685e Fixed a regression in 1.286 about handling form field validations in some plugins.
(<a href="http://www.nabble.com/1.286-version-and-description-The-requested-resource-%28%29-is-not--available.-td22233801.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15826 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-26 22:24:43 +00:00
kohsuke 9a8b698906 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15783 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-26 18:05:38 +00:00
kohsuke ab540af59b [maven-release-plugin] prepare release hudson-1_286
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15781 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-26 18:03:10 +00:00
kohsuke 5adf399725 introduced another convenience method.
See http://www.nabble.com/No-arg-Descriptor-constructor-td22154193.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15773 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-26 02:25:41 +00:00
kohsuke bc30ca651f removed the documents from the archive to trim down the size
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15770 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-26 00:47:32 +00:00
kohsuke c6772d62c5 fixed a test case so that it works on Unix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15759 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 20:18:34 +00:00
kohsuke c5fafc8128 more doc improvements
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15746 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 18:29:28 +00:00
huybrechts ae32c90554 [FIXED HUDSON-786] tool locations can be overridden per slave. Currently implemented for JDK, Ant, Groovy.
Plugins that want to benefit from this should implement ToolDescriptor.
See hudson.model.Ant for an example of how to do this in a backward compatible way.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15737 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 14:42:59 +00:00
kohsuke ea3cdd2a11 fixed a bug in the checkUrl inference, and added a regression test
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15735 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 06:06:04 +00:00
kohsuke cd38e86346 verify that help links work in the configuration page
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15734 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 05:44:06 +00:00
kohsuke eb5a64d10b updated UserProperty to support auto registration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15724 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 04:17:10 +00:00
kohsuke 2e70839624 documentation fix and added copyright header
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15714 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 01:55:31 +00:00
kohsuke 0c80771feb prefer better static typing
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15710 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 01:39:21 +00:00
kohsuke e663289864 DescribableList is designed not to require the set method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15706 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-25 01:30:59 +00:00
kohsuke 9a71a066e9 fixed a compilation problem
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15689 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 23:12:57 +00:00
kohsuke 8425d50ce3 Adding back Mailer.DESCRIPTOR as everyone depends on it
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15685 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 23:03:07 +00:00
kohsuke b63f162f75 updated Publisher to support auto-discovery.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15683 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 22:53:04 +00:00
kohsuke 1447b7184e fixed test problems
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15672 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 20:04:52 +00:00
kohsuke f72109028a fixed test problems
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15671 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 20:03:16 +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 791aab9251 defined a way to contribute ModuleDependencyLocator
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15664 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 19:11:13 +00:00
kohsuke af21daf8d9 added Hudson.getDescriptorByType() to simplify the retrieval of the descriptor instance. Fixed test cases.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15656 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 18:32:42 +00:00
kohsuke 1b766a0861 RepositoryBrowser is updated to support auto registration.
Refactored the ConcurrentHashMap double-if putIfAbsent idiom into the Memoizer class.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15653 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 17:47:32 +00:00
kohsuke cf25766b92 converted Builder to support auto-registration.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15617 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 04:58:40 +00:00
kohsuke 00dfee4963 removed Descriptor.ALL. According to grep this isn't used by any of the official plugins, and because of the type signature, we cannot make this work in the new scheme.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15614 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 00:56:29 +00:00
kohsuke a451ce59c1 converted existing MavenReporters into the auto-discovery based mechanism.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15610 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 00:35:14 +00:00
kohsuke f592d33a7e converting several DescriptorList in a new form
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15604 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-23 23:38:08 +00:00
kohsuke a625a103cf more test cases
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15603 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-23 23:16:51 +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
jglick 277539081b [FIXED HUDSON-2417] Taking stability into account when deciding which builds & artifacts to keep.
Previously, Hudson only tried to keep successful builds, meaning it would discard the last stable build
if there was a long run of unstable builds. This made .../lastStableBuild/... permalinks useless.
Artifact archiver logic with "latest only" also improved more generally:
1. Discards old artifacts at the start of the build. It might as well save the disk space sooner rather than later.
2. Rather than deleting all old artifacts prior to some point, now keeps the latest representatives
   of different stability classes of build: always keeps last stable if available, and also last successful if newer,
   and (just in case) also the last failed if that is newer. Formerly it behaved oddly: during a run of failed builds,
   all of their artifacts would be kept, though these are unlikely to be useful.
Also introducing tests for all this functionality, which does not seem to have been tested before.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15587 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-23 04:57:45 +00:00
jglick 4149f8b5dd Documenting legitimate targets.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15575 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-23 01:56:27 +00:00
huybrechts f8c17fe1f8 added a test for SVN location with a variable
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15537 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-21 21:49:48 +00:00
huybrechts 87eb6367cd [HUDSON-2918] node properties and environment variables
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15502 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-20 22:12:06 +00:00
kohsuke 26f7a6fb82 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15464 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-19 20:30:26 +00:00
kohsuke f93c36787d [maven-release-plugin] prepare release hudson-1_285
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15462 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-19 20:25:17 +00:00
kohsuke 6592b0c7ff [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15413 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-18 04:50:10 +00:00