Commit Graph
2482 Commits
Author SHA1 Message Date
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
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 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
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 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
kohsuke 16b6c6c24d taking the clock difference between systems into account.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10707 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-07 22:30:24 +00:00
kohsuke 337137e4db forgot to bind the data to HTML
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10670 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-06 14:26:58 +00:00
kohsuke 58aa439caf Hudson can now monitor the swap space of slaves.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10668 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-06 04:46:22 +00:00
kohsuke 5eaec9b926 missing suffix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10663 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-06 04:33:38 +00:00
kohsuke 2764d166a3 Adding a mechanism for plugins to contribute to the global configuration page directly.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10642 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-04 21:57:22 +00:00
kohsuke 6055d11fc6 [FIXED HUDSON-2005] deletion is already supported as the remote API, but I changed it to require POST, to prevent accidental deletion.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10630 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-04 00:30:34 +00:00
kohsuke 6d5d9bf395 Rolling back 10329. See http://www.nabble.com/Getting-exception-when-triggering-downstream-job.-tt18252241.html for the report.
rev.10329 contains two changes --- one to have DependencyGraph not to implement Comparator, and the other about how the comparison was implemented.
But the commit log doesn't give enough justification about neither of them.

I can't think of any other ordering among projects in the context of dependency graph, so I'm curious about the motivation behind the first change.
It's also not clear what the new algorithm does to me. The original one is much more concise, if not too efficient. And as this bug report indicates,
the added complexity made it error prone.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10613 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-03 18:51:58 +00:00
kohsuke c19ce4b44c TAB->WS
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10612 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-03 17:57:35 +00:00
kohsuke 47f93e2686 added URL binding for an executor.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10610 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-03 17:38:30 +00:00
kohsuke 1c5e884368 exposing executors to the remote API.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10609 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-03 17:37:49 +00:00
kohsuke 369d5bf6c2 TAB->WS
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10608 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-03 17:30:35 +00:00
kohsuke a9890c7082 exposing the method in a proper place.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10607 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-03 16:58:14 +00:00
kohsuke 202437aca8 exposed a method to start an update cycle.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10606 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-03 16:56:54 +00:00
kohsuke 3b072a6fc7 Hudson can now discover the assembly files created by maven-assembly-plugin, even if they are not attached to the build.
(<a href="http://www.nabble.com/Include--artifact---version--jar-with-dependencies.jar-in-build-artifacts-of-a-m2-project--tt18241641.html">report</a>)

This fix is in 1.232.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10595 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-03 01:54:36 +00:00