Commit Graph
11799 Commits
Author SHA1 Message Date
kohsuke dba909b026 bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11078 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-29 23:38:39 +00:00
kohsuke 210d584934 take inheritance into account.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11077 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-29 23:36:03 +00:00
kohsuke b6ff487fa5 removing CSS duplication.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11076 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-29 23:23:26 +00:00
kohsuke 303bc06739 Depending on '1.2.0-beta-2-hudson-2' that brings back a few constants and methods that are gone in SVNKit 1.2.0. This helps some of Hudson plugins.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11054 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-28 23:03:11 +00:00
kohsuke 5d0a9d7b6a gracefully handle parse failures and move on to other publishers.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11052 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-28 22:03:39 +00:00
kohsuke 1aa8302dc2 structured form functionality is moved to stapler.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11043 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-28 03:51:51 +00:00
sogabe c156dad54b Added Japanese L10N and Improved a little.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11040 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-26 16:05:17 +00:00
kohsuke 22cf46f28e [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11035 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-26 15:01:01 +00:00
kohsuke 800a5f2e34 [maven-release-plugin] prepare release hudson-1_238
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11033 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-26 15:00:52 +00:00
kohsuke 26ba727cbf follow up fix as svnkit 1.2.0 change broke the handling of svn:externals
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11032 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-26 14:38:55 +00:00
kohsuke e8e68b69fe follow up fix as svnkit 1.2.0 change broke the handling of svn:externals
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11031 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-26 14:38:41 +00:00
kohsuke 11c4c53fd8 Added @field to <f:editableComboBox /> just like how <f:textbox field="abc"/> works.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11024 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-26 00:13:11 +00:00
kohsuke 8599de2d29 Improved the form generation and form validation by performing auto-wiring of check URL.
Now you can write  <f:textbox field="abc" /> to mean

<f:textbox name="abc" value="${it.abc}" checkUrl="..." />

<f:textbox field="abc" /> would set the checkUrl value correctly if the corresponding descriptor has the doCheckAbc(...) method.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11023 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-25 23:45:54 +00:00
kohsuke ab1816c13c see discussion in http://www.nabble.com/Getting-the-name-of-the-node-td18649119.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11020 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-25 17:29:36 +00:00
kohsuke 94e6cc6512 [FIXED HUDSON-1856]
Integrated svnkit 1.2.0-beta-2.

svnkit 1.2.0 contains a lot of incompatible changes, so this change needs to be tested carefully.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11012 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-24 23:41:28 +00:00
kohsuke 6a2c684615 TreeSet cannot torelate the ordering change silently under the cover.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11011 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-24 21:36:18 +00:00
kohsuke 19cdcb0ee0 Quiet period implementation is changed to work like what most people would expect.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11009 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-24 21:32:06 +00:00
kohsuke ccbeb725f8 TCP port configuration on the master for JLNP slave agents was not taking effect.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11006 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-24 21:12:10 +00:00
kohsuke b355a8c741 no need to have the initialization code in a separate place.
This should fix the unit test failures in twitter4j I'm seeing at:

-------------------------------------------------------------------------------
Test set: hudson.plugins.twitter.ShouldIncludeURLTest
-------------------------------------------------------------------------------
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.389 sec <<< FAILURE!
testTrueInDescriptor(hudson.plugins.twitter.ShouldIncludeURLTest)  Time elapsed: 0.358 sec  <<< ERROR!
java.lang.ExceptionInInitializerError
	at hudson.plugins.twitter.ShouldIncludeURLTest.setUp(ShouldIncludeURLTest.java:41)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
	at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)
	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33)
	at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
	at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
	at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
	at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
	at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
	at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: java.lang.NullPointerException
	at hudson.model.Queue$MaintainTask.<init>(Queue.java:928)
	at hudson.model.Queue.<init>(Queue.java:195)
	at hudson.model.Hudson.<init>(Hudson.java:144)
	at hudson.plugins.twitter.HudsonUtil.<clinit>(HudsonUtil.java:32)
	... 25 more


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10993 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-24 15:59:29 +00:00
kohsuke 65822c9f7c reorganized imports
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10991 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-24 15:24:02 +00:00
kohsuke 89d79c63f5 improved serialization format.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10990 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-24 15:17:20 +00:00
kohsuke d97ba6d8a3 adding another alias
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10989 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-24 15:13:42 +00:00
kohsuke af8f487296 added error diagnostics
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10979 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-24 02:00:38 +00:00
kohsuke f1defd55f4 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10978 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-24 01:58:32 +00:00
kohsuke 57d9267837 fixed a hang if forked Maven fails to start correctly
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10974 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-24 01:00:36 +00:00
kohsuke 54b820792a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10965 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-23 20:40:07 +00:00
kohsuke 74aa8baa73 [maven-release-plugin] prepare release hudson-1_237
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10963 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-23 20:39:54 +00:00
swiest a902e637d9 Fixed typos in German localization (trivial).
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10957 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-23 05:21:28 +00:00
kohsuke a99181c34f don't just print out Exception.getMessage()
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10956 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-22 21:57:19 +00:00
kohsuke 6858e9340f [FIXED HUDSON-1705]
A trouble-shooting of another incident revealed this problem. I believe this was the cause of 1705. See the comment in the code for the analysis.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10955 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-22 21:40:30 +00:00
kohsuke 1b22943230 Merged revisions 9727,9739,9765-9766,9927,10332,10334-10338,10340,10416,10421,10553,10839-10845,10876 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/tom

........
  r9727 | huybrechts | 2008-05-31 12:49:18 -0700 (Sat, 31 May 2008) | 3 lines
  
  Issue 1659
  - cleaning up static Trigger, Hudson instances
  - resetting commons-logging
........
  r9739 | huybrechts | 2008-06-01 12:05:51 -0700 (Sun, 01 Jun 2008) | 1 line
  
  #1770 catching and logging InstantiationError
........
  r9765 | huybrechts | 2008-06-02 11:34:45 -0700 (Mon, 02 Jun 2008) | 1 line
  
  project-based security: fixed a new isAdmin call
........
  r9766 | huybrechts | 2008-06-02 11:35:27 -0700 (Mon, 02 Jun 2008) | 1 line
  
  "theInstance = null" caused some reloading problems
........
  r9927 | huybrechts | 2008-06-07 15:31:20 -0700 (Sat, 07 Jun 2008) | 8 lines
  
  Initial commit of parameterized builds. Provided functionality:
  - users can define parameters per project (only string paramters for now)
  - if a project has parameters, the 'build' button will redirect to an input page
  - parameter values can be used as ${variable} in Ant, Maven and CommandInterpreter builders
  - after the build, parameter values can be viewed in a separate page
  - tasks for parameterized builds are persisted in the queue over restarts
  - queue persistence is now in XML (with backwards compatibility for text format)
........
  r10332 | huybrechts | 2008-06-23 05:32:45 -0700 (Mon, 23 Jun 2008) | 1 line
  
  made EmbedderLoggerImpl public for use in plugins
........
  r10334 | huybrechts | 2008-06-23 05:48:10 -0700 (Mon, 23 Jun 2008) | 1 line
  
  [HUDSON-1914] additional parameter types (job, run), bugfixes
........
  r10335 | huybrechts | 2008-06-23 05:49:10 -0700 (Mon, 23 Jun 2008) | 1 line
  
  [HUDSON-1573] initialize servlet filters
........
  r10336 | huybrechts | 2008-06-23 05:52:14 -0700 (Mon, 23 Jun 2008) | 1 line
  
  [HUDSON-1915] onStarted onevent
........
  r10337 | huybrechts | 2008-06-23 06:07:32 -0700 (Mon, 23 Jun 2008) | 4 lines
  
  [HUDSON-1504] basic ui for job-based access control
  
  This allows assigning permissions per user and per job.
  It is still possible to provide defaults using a global matrix.
........
  r10338 | huybrechts | 2008-06-23 06:18:13 -0700 (Mon, 23 Jun 2008) | 3 lines
  
  [HUDSON-1504] basic ui for job-based access control
  
  adding it to the list...
........
  r10340 | huybrechts | 2008-06-23 07:23:12 -0700 (Mon, 23 Jun 2008) | 1 line
  
  [HUDSON-1504] fix compile error
........
  r10416 | huybrechts | 2008-06-25 01:13:11 -0700 (Wed, 25 Jun 2008) | 1 line
  
  initial commit staging plugin: supports doing a maven release to a staging repository, serving that repository for Hudson, and uploading it on demand
........
  r10421 | huybrechts | 2008-06-25 12:32:06 -0700 (Wed, 25 Jun 2008) | 1 line
  
  [HUDSON-1954] initial commit jbpm plugin and staging workflow example
........
  r10553 | huybrechts | 2008-07-01 14:13:57 -0700 (Tue, 01 Jul 2008) | 1 line
  
  moving registration for parameter definition out of registered class
........
  r10839 | kohsuke | 2008-07-15 13:48:05 -0700 (Tue, 15 Jul 2008) | 6 lines
  
  Making a few adjustments in preparation of merging back to the trunk.
  
  - doc updates
  - added QueueTaskFilter as a plain delegation implementation to simplify ParameterizedProjectTask.
  - renamed ParameterDefinition.newInstance(...) to createValue, to avoid having two newInstance methods
    in this part of the system that does different things
........
  r10840 | kohsuke | 2008-07-15 13:51:16 -0700 (Tue, 15 Jul 2008) | 1 line
  
  Hudson's coding convention is to use WS and no TAB.
........
  r10841 | kohsuke | 2008-07-15 14:34:37 -0700 (Tue, 15 Jul 2008) | 2 lines
  
  - making ParameterValue an abstract class to allow evolution without breaking plugins in the future
  - tweaked the UI a bit so that parameterization don't get too much visibility.
........
  r10842 | kohsuke | 2008-07-15 14:49:35 -0700 (Tue, 15 Jul 2008) | 2 lines
  
  improving the UI a bit.
  Added an icon
........
  r10843 | kohsuke | 2008-07-15 15:08:28 -0700 (Tue, 15 Jul 2008) | 1 line
  
  adding help
........
  r10844 | kohsuke | 2008-07-15 15:10:42 -0700 (Tue, 15 Jul 2008) | 1 line
  
  TAB->WS
........
  r10845 | kohsuke | 2008-07-15 15:44:47 -0700 (Tue, 15 Jul 2008) | 2 lines
  
  - Use HTTP status code to notify the automated clients that the build triggering failed.
  - Overload the "/build" URL to render the parameter entry form.
........
  r10876 | kohsuke | 2008-07-18 13:52:51 -0700 (Fri, 18 Jul 2008) | 10 lines
  
  Giving more hooks to ParameterValue to affect a build
  
   - abstracting the variable substitution process so that the actual syntax for marking
     variables (e.g., %VAR% vs ${var} vs #{xyz}) and the actual resolution process are
     orthogonal.
  
   - parameter values can now contribute BuildWrapper to a build.
  
   - parameter values can now contribute environment variables to a build.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10950 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-22 00:48:13 +00:00
kohsuke 355a9da6fc make the output blend with Maven output.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10937 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-21 23:50:03 +00:00
kohsuke c7851f249d make the output blend with Maven output.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10936 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-21 23:46:57 +00:00
kohsuke f0a330a5d3 improved the interception to make things look uniform with Mojo interception.
Turns out MavenReport is really always a Mojo anyway.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10935 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-21 23:46:04 +00:00
kohsuke 9caaa875c1 [FIXED HUDSON-2019] Show error message for failing tests, not just stacktrace.
Applied a patch.Will be in 1.237.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10905 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-21 04:04:58 +00:00
kohsuke 9cf38c5ad0 [FIXED HUDSON-2041] Fixed a possible NPE in parallel module builds in Maven. In 1.237
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10899 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-21 03:25:29 +00:00
kohsuke 623e991c11 Added interception of site report generation.
See http://www.nabble.com/maven%E3%81%A7%E7%94%9F%E6%88%90%E3%81%95%E3%82%8C%E3%81%9F%E3%83%89%E3%82%AD%E3%83%A5%E3%83%A1%E3%83%B3%E3%83%88%E3%81%B8%E3%81%AE%E3%83%AA%E3%83%B3%E3%82%AF-td18545356.html for the discussion.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10896 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-21 00:40:20 +00:00
kohsuke ffa47e50b9 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10885 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-20 16:44:12 +00:00
kohsuke 770401ac50 [maven-release-plugin] prepare release hudson-1_236
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10883 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-20 16:43:49 +00:00
kohsuke c41c278bc4 [FIXED HUDSON-2089] I believe I fixed this NPE now in 1.236.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10882 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-20 16:33:46 +00:00
kohsuke acf79efc8e [FIXED HUDSON-2097] remote API of Computer was not working because SwapMemoryMonitor wasn't producing remotable data.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10881 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-20 16:00:17 +00:00
kohsuke 9bb2628803 Prototyping the extension point that takes advantages of the underlying file system like ZFS. Still very much a work in progress.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10879 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-20 15:36:37 +00:00
kohsuke b37f6f1479 [FIXED HUDSON-2095] Skip the test if java.net cannot be reached.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10878 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-20 15:32:03 +00:00
kohsuke 0360356089 I see many reports indicating a hang in a queue, so allowing people to call maintain() to see if that makes a difference.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10874 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-18 04:01:30 +00:00
kohsuke 779968fd45 Dump the stderr from "cvs log" if it fails.
See http://www.nabble.com/Problem-with-cvs-log-command-tt18440437.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10866 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-17 05:44:01 +00:00
kohsuke a7288df7c6 adding an overloaded version that redirects stderr somewhere else.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10865 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-17 05:30:28 +00:00
kohsuke 7d01b8536c improved error diagnostics. See http://www.nabble.com/Hudson-Slave-access---Remote-Dir-tt18478152.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10862 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-17 04:57:08 +00:00
kohsuke ebdd1948cf applied a patch from Adam, with a little modification.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10860 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-17 04:31:50 +00:00
kohsuke 9d311b98bf fixed indentation
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10859 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-17 03:57:01 +00:00
kohsuke 32303202a8 made more robust. See http://www.nabble.com/%E2%80%8EProblem-running-shell-scripts-on-unix-slave-tt18482288.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10855 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-16 19:14:16 +00:00