Commit Graph
10778 Commits
Author SHA1 Message Date
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
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 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
kohsuke c45633cd2a doc update
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10854 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-16 19:10:55 +00:00
kohsuke 7b3de6aa70 doc update
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10853 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-16 19:06:25 +00:00
kohsuke 257e7a189d doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10821 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-15 00:51:16 +00:00
kohsuke 8aae999fa0 Build history graph now shows unstable and aborted builds in proper color
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10785 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-12 01:23:25 +00:00
kohsuke 04ab4b60cd the field needs to be made accessible first.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10778 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-11 20:49:38 +00:00
kohsuke c845968202 [FIXED HUDSON-1088] Reader $M2_HOME/conf/settings.xml. In 1.235.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10773 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-11 16:09:23 +00:00
elefevre e2b38d2857 minor fixes in French translations
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10741 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-10 16:04:25 +00:00
swiest 5a50b94c08 Updated German localization (catching up with English master files routinely).
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10739 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-10 08:40:38 +00:00
kohsuke 297c2b9fdf [FIXED HUDSON-1833] Update center accepts HTTP proxy username/password.
In 1.234.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10737 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-10 06:43:03 +00:00
kohsuke 0963c86306 missing doc
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10736 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-10 06:17:55 +00:00
kohsuke aff4225bed simplified
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10735 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-10 06:07:54 +00:00
kohsuke 5e71d1efa9 this is more convenient.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10734 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-10 06:07:15 +00:00
kohsuke 9e6bf638cb improving error diagnostics.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10728 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-10 00:47:40 +00:00
kohsuke 59c5cb25f2 [FIXED HUDSON-2013] Applied a patch in 1.234. Thanks.
I hope you'd be interested in hacking Hudson more. If you'd like to be a committer or host a plugin, let me know.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10725 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-09 15:24:46 +00:00
kohsuke e38742a398 Fixed the concurrency issue that was causing http://hudson.gotdns.com/wiki/display/SUN/Archived+artifact+is+missing.
I'm pretty positive at this point that this was caused by the concurrency issue of SimpleDateTimeFormat. (Whoever designed that API needs to be sentenced to 10 lashes!!!)

Where I only need the formatting and not parsing, using FastDateTimeFormat from commons-lang. Where I need parsing, I use ThreadLocal.

Also see http://blogs.atlassian.com/developer/2007/07/dateformat_objects_and_threads.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10722 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-08 23:39:20 +00:00
kohsuke 3b2d6baac0 formatting changes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10721 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-08 23:23:58 +00:00
kohsuke 3bf9d42287 [FIXED HUDSON-2031] debug code crept into the trunk. This exception message is otherwise harmless. Fixed in 1.233.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10708 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-07 22:53:48 +00:00