Commit Graph
2522 Commits
Author SHA1 Message Date
kohsuke 5d24503b49 monitor nodes that are temporarily offline.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11212 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-04 20:46:37 +00:00
kohsuke 55b4cfcc59 workspace selector needs to be installed on all slaves.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11210 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-04 20:18:47 +00:00
kohsuke 1d159fa080 moving the code up to follow the order (OK, this is probably just a matter of taste)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11209 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-04 18:55:56 +00:00
kohsuke 00d9bd7c65 adding a trouble-shooting probe for the next time.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11208 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-04 18:52:45 +00:00
kohsuke 8bb5e7f5b4 TAB->WS
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11207 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-04 18:40:59 +00:00
kohsuke 34d0a8ede3 fixed rendering.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11205 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-04 17:28:06 +00:00
sogabe 9cee5bdcd0 i18n scm and updated japanese translation
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11202 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-03 14:00:23 +00:00
kohsuke 5ca53d7b08 Improved Sventon integration to link to directories as well as files.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11199 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-02 20:26:55 +00:00
kohsuke 6dde3065a7 Launch Maven in the non-interactive mode.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11188 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-01 22:46:24 +00:00
kohsuke 3dd5b61e7a * {@link ISVNAdminAreaFactorySelector} that uses 1.4 compatible workspace for new check out,
* but still supports 1.5 workspace, if asked to work with it.
 *
 * <p>
 * Since there are many tools out there that still don't support Subversion 1.5 (including
 * all the major Unix distributions that haven't bundled Subversion 1.5), using 1.4 as the
 * default would reduce the likelihood of the user running into "this SVN client can't work
 * with this workspace version..." problem when using other SVN tools.
 *
 * <p>
 * The primary scenario of this is the use of command-line SVN client, either from shell
 * script, Ant, or Maven.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11187 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-01 22:29:49 +00:00
kohsuke bd23782e28 Fixed the form submission error when there's no Ant or Maven configured.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11170 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-31 23:20:23 +00:00
kohsuke 10b20952ad collapse the structure to remain backward compatible with the JSON structure before 1.238.
Updated Ant and Maven to use the newer style, but there are plugins out there that expect older
form submission format.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11151 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-31 17:45:54 +00:00
kohsuke 39c15f8dc4 fixed more serialization issues.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11149 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-31 17:09:06 +00:00
kohsuke 1874b3976b fixing the de-serialization of AxisList.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11148 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-31 16:54:10 +00:00
kohsuke f1062a0a18 improved javadoc.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11147 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-31 16:22:57 +00:00
kohsuke a5ae9c6047 made public because this is useful for Subversion related plugins, too.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11146 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-31 16:19:21 +00:00
kohsuke 9d3e4299e9 Fixed a big problem in loading Matrix projects
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11114 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-30 17:43:34 +00:00
kohsuke 736b0258c6 Fixed suspected NPE.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11113 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-30 17:38:39 +00:00
kohsuke 6c09e723d5 Added form field validation to detect 'localhost' in URL.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11085 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-30 02:52:22 +00:00
kohsuke 00bcb29309 <f:textbox field="..." /> works with global.jelly, too.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11084 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-30 02:51:08 +00:00
kohsuke 4a8e04c2c1 the system could be set to no security realm but with a valid authorization strategy. It is probably a mistake on behalf of the user, but it should still be treated as a secured Hudson.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11082 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-30 00:49:15 +00:00
kohsuke 8059d25d45 use inheritance to avoid code duplication.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11079 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-29 23:43:07 +00:00
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 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 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 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