Commit Graph
1882 Commits
Author SHA1 Message Date
kohsuke 77c3f4991d Merged revisions 26733,26735 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r26733 | kohsuke | 2010-01-29 15:24:01 -0800 (Fri, 29 Jan 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_343
........
  r26735 | kohsuke | 2010-01-29 15:24:13 -0800 (Fri, 29 Jan 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26738 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-29 23:50:22 +00:00
kohsuke 1b3c1f92fd [HUDSON-5391] Fixed the infamous Turkish bug.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26650 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-28 21:38:01 +00:00
mindless af7ffcebf9 Avoid double-encoding in option value attribute when populating it from the f:option
body, rather than an explicit value parameter.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26583 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-27 20:10:49 +00:00
kohsuke 93bb4a66a1 this was supposed to be renamed to TestResultExtensionTest
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26477 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-26 23:41:33 +00:00
kohsuke 92ca98c4d6 Merged revisions 24854,24862,24946,25411,25418-25419,25478,25699,25701,25770,25832,25834,26401-26404 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/test-result-refactor

........
  r24854 | bshine | 2009-12-22 12:52:32 -0800 (Tue, 22 Dec 2009) | 82 lines
  
  Generalize the junit-specific TestResult class into AbstractTestResult,
  and allow plugins to contribute test result parsers that generate
  AbstractTestResult subclasses.
  
  In order to support the increasing variety of test result file formats, we
  have added two extension points:
  
   * AbstractTestResult: a class that represents a general concept of a test
     result, without any language or implementation specifics.
  
   * AbstractTestResultParser: an API for parsing test result files and
     producing an instance of a concrete subclass of AbstractTestResult
  
   
   AbstractModelObject
      \
       TestObject 
          \
           AbstractTestResult is-a ExtensionPoint
                 \
                  |-- CaseResult 
                  |
                  |-- SimpleCaseResult
                  |
                  |-- TabulatedResult
                        \
                         |-- ClassResult
                         |
                         |-- MetaTabulatedResult
                               \
                                 |-- TestResult 
                                 |
                                 |-- PackageResult
  
  
   AbstractTestResultParser is-a ExtensionPoint
      \
       JUnitParser
  
  We have refactored the JUnit result publishing system so that it is "just"
  a subclass of AbstractTestResult. We have promoted functionality into
  AbstractTestResult from TestResult; we have also promoted jelly resources
  from TestResult up to AbstractTestResult. Together, these changes make it
  possible -- without much code -- to add a test result parser and a test
  result publisher that can participate in the test result ecosystem. See,
  for instance, TrivialTestResult, with its two supporting classes,
  TrivialTestResultAction and TrivialTestResultRecorder.
  
  We have moved the format-agnostic classes in the test result system into
  the hudson.tasks.test package, from hudson.tasks.junit:
     TestObject
     MetaTabulatedResult
     TabulatedResult
  
  We have attempted at every step to preserve backwards compatibility both
  with the existing APIs and with test results stored by earlier versions of
  Hudson. Numerous tests verify that the old APIs and historical data are
  still readable; all of the tests in hudson.tasks.junit operate on stored
  builds and test results created by Hudson around version 1.320. These
  tests have been created and expanded to exercise the HTML ui and the XML
  api of the test result publishing system, as well as the underlying java
  logic.
  
     hudson.tasks.junit.CaseResultTest
     hudson.tasks.junit.JUnitParserTest
     hudson.tasks.junit.JUnitResultArchiverTest 
     hudson.tasks.junit.TestResultLinksTest 
     hudson.tasks.junit.TestResultPublishingTest   
     
  This checkin also includes several smaller changes that were enacted in the course of this work: 
     Added convenience/utility methods
        - HudsonTestCase.java
     
     Added a read-only textbox.
        - core/src/main/resources/lib/form/readOnlyTextbox.jelly
  
     Added a standalone builder that touches all files in the workspace.
        - TouchBuilder.java
  
     Added a test: testUnwrappedLongString
        - src/test/java/hudson/model/ApiTest.java
........
  r24862 | bshine | 2009-12-22 17:30:04 -0800 (Tue, 22 Dec 2009) | 1 line
  
  Recreate the hudson.tasks.junit.TestObject class, and adapt the TestResultAction.Data class to be friendly to the refactoring. This makes the claim plugin and the junit-attachments plugin compile and pass tests against this branch.
........
  r24946 | bshine | 2009-12-24 21:59:14 -0800 (Thu, 24 Dec 2009) | 1 line
  
  Getting rid of some TODOs that don't apply anymore. The TODOs that remain are meaningful.
........
  r25411 | kohsuke | 2010-01-05 18:14:15 -0800 (Tue, 05 Jan 2010) | 3 lines
  
  Cosmetic change. It's not necessary to define our own constant for empty list when there's already one in JDK.
  
  I also think creating and wasting singleton list as needed is probably better use of memory than having a singleton list tied in memory for every CaseResult. It improves cognitive overhead for people reading the code, and modern GCs are very good at handling short-lived objects, and I don't see this method called in a busy loop.
........
  r25418 | kohsuke | 2010-01-05 18:37:17 -0800 (Tue, 05 Jan 2010) | 1 line
  
  pushed the get/setDescription implemention up to the AbstractTestResultAction. I believe the default implementation is sufficient for most purposes, and typical subtypes don't want to bother with the details that descriptions are actually persisted by the owning Action instead of in TestObjects.
........
  r25419 | kohsuke | 2010-01-05 18:59:29 -0800 (Tue, 05 Jan 2010) | 1 line
  
  we should allow the parse method to be called outside of the build, so this should be TaskListener.
........
  r25478 | kohsuke | 2010-01-07 11:44:34 -0800 (Thu, 07 Jan 2010) | 14 lines
  
  The ExtensionPoint interface primarily serves as a marker to call attention of the plugin developers as to where to hook into Hudson. Since the act of implementing AbstractTestResultParser naturally make them to implement AbstractTestResult, I'm removing the ExtensionPoint marker from this abstract class.
  
  The all() method is removed after the following discussion:
  
  >> - I propose we remove AbstractTestResult.all(). I don't think being  
  >> able
  >> to enumerate AbstractTestResult subtypes buy us anything, since those
  >> can only be instantiated by parsers that intimately know how to
  >> instantiate them properly. Or did I miss the purpose of this?
  > 
  > I put in the all method because it was suggested by the wiki:
  > "You also need to define the static "all" method..."
  > http://wiki.hudson-ci.org/display/HUDSON/Defining+a+new+extension+point
  > so I don't have a problem with removing it.
........
  r25699 | bshine | 2010-01-11 16:34:12 -0800 (Mon, 11 Jan 2010) | 1 line
  
  Removed a test that exercised AbstractTestResult.all(), because that API has been removed.
........
  r25701 | bshine | 2010-01-11 17:05:40 -0800 (Mon, 11 Jan 2010) | 1 line
  
  Don't test getDescription() on a TrivialTestResult because the TrivialTestResult doesn't actually implement a description.
........
  r25770 | bshine | 2010-01-13 11:52:27 -0800 (Wed, 13 Jan 2010) | 1 line
  
  Added a failing test to demonstrate bug HUDSON-5246, inter-build diffs for junit test results are wrong.
........
  r25832 | bshine | 2010-01-14 13:50:15 -0800 (Thu, 14 Jan 2010) | 1 line
  
  The id field was accidentally declared here; it was also declared in hudson.tasks.test.TestObject. This id field here is always hidden by the id field in the more-concrete TestObject. Therefore, I'm removing this field.
........
  r25834 | bshine | 2010-01-14 13:55:10 -0800 (Thu, 14 Jan 2010) | 5 lines
  
  Fixes bugs with getPreviousResult:
  HUDSON-5269 TestResult.getPreviousResult returns null when it shouldn't
  HUDSON-5246 test-result-refactor branch: inter-build diffs for junit test results are wrong 
........
  r26401 | kohsuke | 2010-01-25 17:24:51 -0800 (Mon, 25 Jan 2010) | 7 lines
  
  renamed:
   AbstractTestResultParser -> TestResultParser
   AbstractTestResult -> TestResult
  
  This discussion is in http://n4.nabble.com/Review-requested-Test-Result-Refactoring-td978100.html#a978100
  
  The conclusion of this renaming proposal isn't clear, but I'm assuming it's OK.
........
  r26402 | kohsuke | 2010-01-25 17:27:57 -0800 (Mon, 25 Jan 2010) | 1 line
  
  elsewhere in Hudson it's the "display name" that indicates a human readable name that programs don't try to interpret.
........
  r26403 | kohsuke | 2010-01-25 17:31:38 -0800 (Mon, 25 Jan 2010) | 1 line
  
  typo
........
  r26404 | kohsuke | 2010-01-25 17:35:41 -0800 (Mon, 25 Jan 2010) | 1 line
  
  doc improvement.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26406 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-26 01:49:47 +00:00
mindless 8f4bec7089 fix test for change in r26344
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26384 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-25 20:48:33 +00:00
kohsuke 4e4d42c694 Merged revisions 26269,26271 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r26269 | kohsuke | 2010-01-22 16:27:11 -0800 (Fri, 22 Jan 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_342
........
  r26271 | kohsuke | 2010-01-22 16:27:23 -0800 (Fri, 22 Jan 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26272 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-23 00:27:58 +00:00
kohsuke e07b0c7d1e allow subtypes to override the update center behavior.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26208 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-21 22:00:01 +00:00
kohsuke 858ab21bd8 UpdateCenter.neverUpdate is deprecated as of 1.333
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26206 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-21 21:39:45 +00:00
mindless 00bc8ce5c5 [FIXED HUDSON-2543] don't update lastStable/lastSuccessful symlinks until final
build result is known (after post-build actions).


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26069 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-18 17:10:36 +00:00
kohsuke cb88b13b66 [FIXED HUDSON-5164]
Infer the default e-mail address more smartly with user IDs like "DOMAIN\user" (often seen in Windows)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25964 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-16 15:57:48 +00:00
kohsuke e816e08552 missing @DataBoundConstructor
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25961 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-16 15:13:00 +00:00
kohsuke 264b89d568 Merged revisions 25895,25897 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r25895 | kohsuke | 2010-01-15 16:06:26 -0800 (Fri, 15 Jan 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_341
........
  r25897 | kohsuke | 2010-01-15 16:06:40 -0800 (Fri, 15 Jan 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25898 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-16 00:07:15 +00:00
mindless b4ee14c5b8 [HUDSON-5236] remove Dependency.getBuildActions API, as its computation may
overlap with shouldTriggerBuild.  Instead, add List<Action> parameter in
shouldTriggerBuild which impl can add Actions to before returning boolean.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25878 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-15 20:22:17 +00:00
mindless b74b648480 [FIXED HUDSON-5265] set system privileges while building DependencyGraph so no jobs
are missed if the current user can't see them all (per-project read permissions).
Added unit tests for this and HUDSON-5236.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25821 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-14 16:13:17 +00:00
kohsuke 5ecd3d0461 TAB -> WS
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25786 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-13 23:49:25 +00:00
kohsuke 20a00c5e0d turns out I couldn't use it, but since I wrote it, I'm committing it.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25774 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-13 20:08:43 +00:00
kohsuke 1fd0978c76 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25773 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-13 20:08:21 +00:00
kohsuke 6631bd95cf Merged revisions 25690,25692 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r25690 | kohsuke | 2010-01-11 15:26:45 -0800 (Mon, 11 Jan 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_340
........
  r25692 | kohsuke | 2010-01-11 15:26:57 -0800 (Mon, 11 Jan 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25693 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-11 23:28:10 +00:00
kohsuke a3785dc287 moved the test to the CVS plugin
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24948 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-25 14:28:30 +00:00
kohsuke 02d1b7cd3a Merged revisions 24934,24936 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r24934 | kohsuke | 2009-12-24 17:28:36 -0800 (Thu, 24 Dec 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_339
........
  r24936 | kohsuke | 2009-12-24 17:28:49 -0800 (Thu, 24 Dec 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24937 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-25 01:29:19 +00:00
kohsuke fa18b98b9b removing references to the CVS support that's now in a plugin.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24922 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-24 20:04:45 +00:00
kohsuke e9cf60f6a1 fixed a compilation problem.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24872 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-23 19:51:18 +00:00
kohsuke 58863d8808 use the latest version of htmlunit
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24869 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-23 18:45:48 +00:00
kohsuke 5ca8b3ed20 revert the state of EXTENDED_READ back to the default.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24849 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-22 17:45:24 +00:00
kohsuke 03b4488054 increasing the time out as I'm seeing errors like this, which is legitimate:
java.lang.AssertionError: Hudson is still doing something after 30000ms: queue=[] building=[snap-dep-test-down #2]
	at org.jvnet.hudson.test.HudsonTestCase.waitUntilNoActivityUpTo(HudsonTestCase.java:801)
	at org.jvnet.hudson.test.HudsonTestCase.waitUntilNoActivity(HudsonTestCase.java:772)
	at hudson.maven.MavenSnapshotTriggerTest.testMixedTransitiveSnapshotTrigger(MavenSnapshotTriggerTest.java:69)
	at org.jvnet.hudson.test.HudsonTestCase.runTest(HudsonTestCase.java:310)
	at com.sun.maven.junit.LocalTestCaseRunner.runTests(LocalTestCaseRunner.java:100)
	at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:51)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215)
	at hudson.remoting.UserRequest.perform(UserRequest.java:104)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:250)
	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:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24847 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-22 17:22:10 +00:00
kohsuke bae1397472 improved error diagnostics in case of a test failure
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24794 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-21 23:28:20 +00:00
kohsuke 28a492761b bug fix in the parsing method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24792 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-21 23:07:59 +00:00
kohsuke d81ced85ac fix the version to avoid seemingly random test faliures like those reported in http://n4.nabble.com/brittleness-of-hudson-test-harness-test-suite-tp975319p975319.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24777 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-21 19:34:39 +00:00
kohsuke df8bdd42c5 Merged revisions 24685-24686,24706,24708,24710,24713 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r24685 | kohsuke | 2009-12-17 11:42:34 -0800 (Thu, 17 Dec 2009) | 1 line
  
  CR6842690. if the parent directory is missing, create it.
........
  r24686 | kohsuke | 2009-12-17 12:07:35 -0800 (Thu, 17 Dec 2009) | 1 line
  
  doc improvement
........
  r24706 | kohsuke | 2009-12-18 15:29:32 -0800 (Fri, 18 Dec 2009) | 1 line
  
  fixed the problem pointed out by Alan in http://n4.nabble.com/Queue-Task-isConcurrent-tp974571p974571.html
........
  r24708 | kohsuke | 2009-12-18 18:29:14 -0800 (Fri, 18 Dec 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_338
........
  r24710 | kohsuke | 2009-12-18 18:29:25 -0800 (Fri, 18 Dec 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r24713 | kohsuke | 2009-12-18 19:05:36 -0800 (Fri, 18 Dec 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24715 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-19 03:15:19 +00:00
abayer c809404615 [FIXED HUDSON-2932] Maven projects now properly fall back through project-defined MAVEN_OPTS to globally-defined MAVEN_OPTS to executor environment variable MAVEN_OPTS - also added globally-defined MAVEN_OPTS and related changes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24652 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-16 14:47:49 +00:00
kohsuke 69d739ecd3 this hopefully increases the stability
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24638 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-15 20:04:52 +00:00
kohsuke e1c2f1c39a Merged revisions 24563,24572,24574,24578 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r24563 | kohsuke | 2009-12-11 10:49:04 -0800 (Fri, 11 Dec 2009) | 1 line
  
  keep track of the init level to delay the loading of ExtensionList.
........
  r24572 | kohsuke | 2009-12-11 15:36:06 -0800 (Fri, 11 Dec 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_337
........
  r24574 | kohsuke | 2009-12-11 15:36:27 -0800 (Fri, 11 Dec 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r24578 | kohsuke | 2009-12-11 16:17:46 -0800 (Fri, 11 Dec 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24595 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-14 16:48:09 +00:00
kohsuke b0f03b740b removed the fragility of the tests that depend on hard-coded wall clock time
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24594 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-14 16:46:22 +00:00
kohsuke 023f12954a TAB -> WS
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24535 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-09 23:29:47 +00:00
kohsuke a9a0f262a0 I can't put stapler annotations on Groovy, as they fail to produce annotations on the stub files, so the APT processor doesn't see the annotations in time. So instead I'm falling back to Java code.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24514 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-09 20:57:40 +00:00
kohsuke 5bb3c2b03a Fixed a bug that the form field validation couldn't handle &lt;select> box.
(<a href="http://n4.nabble.com/f-validateButton-of-a-select-field-s-value-tp948691p948691.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24511 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-09 14:37:14 +00:00
kohsuke d57209f7dd exposed additional local variable to assist debugging
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24493 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-09 02:09:35 +00:00
mindless e9009a6de1 add newInstance so these test builders are usable when running via hpi:run
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24467 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-08 00:20:21 +00:00
kohsuke a19306af47 added a new tag to bind a set of enum constants to a series of checkboxes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24463 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-07 23:25:08 +00:00
kohsuke 72c576e97c making the same fix I made to maven-hpi-plugin to prevent a failure due to a hard-coded limitation in Jetty.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24390 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-04 01:56:55 +00:00
kohsuke d69a5351f6 enhancing IO convenience code.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24281 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-01 14:37:57 +00:00
kohsuke 4cb2bcfedf Merged revisions 24160,24162 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r24160 | kohsuke | 2009-11-28 07:20:57 -0800 (Sat, 28 Nov 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_336
........
  r24162 | kohsuke | 2009-11-28 07:21:11 -0800 (Sat, 28 Nov 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24163 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-28 15:33:27 +00:00
kohsuke db986956ae Tests fail randomly where it forks Maven with:
ERROR: Maven JVM terminated unexpectedly with exit code 143


Perhaps it's hitting some resource limit? While I investigate the issue
falling back to single thread execution.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24104 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-25 23:41:00 +00:00
jglick 7fe28a4bcb Avoid gratuitous JDK 6 dependencies.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24024 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-24 17:43:25 +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
kohsuke 7335533d68 [FIXED HUDSON-4873] in 1.336
Matrix configuration builds should continue even when Hudson is about to shut down.
    (<a href="https://hudson.dev.java.net/issues/show_bug.cgi?id=4873">issue 4873</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23980 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-23 16:55:03 +00:00
mindless 3be4551e3b [FIXED HUDSON-1986] Update or remove lastSuccessful/lastStable symlinks on filesystem
as appropriate when a build is deleted.  Based on patch from xlv.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23973 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-22 23:02:55 +00:00
kohsuke 06651a0e66 run tests with maven-junit-plugin for improved parallelism
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23940 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-21 15:56:40 +00:00
kohsuke 1922733709 Merged revisions 23918,23920 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r23918 | kohsuke | 2009-11-20 14:44:46 -0800 (Fri, 20 Nov 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_335
........
  r23920 | kohsuke | 2009-11-20 14:44:57 -0800 (Fri, 20 Nov 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23921 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-20 22:54:18 +00:00