Commit Graph
3916 Commits
Author SHA1 Message Date
kohsuke faaf185362 Footer now includes a timestamp
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21305 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-01 01:19:59 +00:00
kohsuke 65f2c1fffa moved the method to where it belongs to.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21256 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-30 19:52:36 +00:00
kohsuke ef84348861 follow up fix to rev.21175.
- toString -> getShortDescription so that ParameterValue.getShortDescription() can explain what this method is expected to return.
- added proper HTML escape to avoid XSS vulnerability.
- modified to use StringBuilder for string concatanation.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21252 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-30 16:33:39 +00:00
mindless 96bae19e4c [HUDSON-4344] urlencode name when redirecting to rename?newName=..
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21208 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-29 17:51:00 +00:00
pgweiss 427dd0fdb1 Expand the tooltip of a queued item to include the parameters if it is for a parameterized build.
This is very useful when you are using the parameterized trigger plugin and have dozens of queued
jobs -- you can now know which jobs to kill.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21175 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-28 22:16:22 +00:00
lifeless dec6b35bd2 - Moves LabelFinder to hudson.model, as its a core facility, not necessarily a
task or even slave related.
- Removes all caching of labels. Slow extensions can cache (see nodetags).
- Pulls up common implementations of getAssignedLabels and an immutable
  getDynamicLabels facility into Node. getDynamicLabels was previously public,
  but never exported.
- factored out some trivially duplicated code into Node.getHudsonlabel
- changes LabelFinder to return Collection<Label> as that is the data that
  higher layers want to work with, and there is no good reason to force lookups
  when implementations can and should cache themselves.
- Deletes OSLabeler, a disabled version of the LabelFinder extension point -
  there is no need for dead code to be keep in the tree.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21160 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-28 10:47:25 +00:00
mindless 2999b2c405 [FIXED HUDSON-4286] Changed health level boundaries from 0-19, ... 80+
to 0-20, 21-40, ... 81+ and removed hack in Job.java lowering build health
scores by one so 4/5 wouldn't be "sunny".  Now 80 is in the 2nd bracket so
hack not needed.
Left image filenames unchanged for compatibility, in case anyone uses
these images for other things.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21152 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-28 03:39:29 +00:00
kohsuke 3236c56d3b Exposing load statistics to the remote API.
(<a href="http://www.nabble.com/time-in-queue-td25127970.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21147 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-28 02:02:54 +00:00
kohsuke c09523609e i18n and clarified what it was trying to install, since that's not obvious.
See http://www.nabble.com/Don%27t-understand-build-messages...-td25177740.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21144 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-28 01:16:20 +00:00
abayer 00afaa5263 [FIXED HUDSON-4056] Added support for marking a new plugin version as configuration-incompatible with previous versions - see http://wiki.hudson-ci.org/display/HUDSON/Marking+a+new+plugin+version+as+incompatible+with+older+versions
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21097 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-26 19:46:36 +00:00
kohsuke cbb3e313ad Merged revisions 20928-20929,20939,20974-20975,20988,21009,21011,21015 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r20928 | kohsuke | 2009-08-19 14:47:13 -0700 (Wed, 19 Aug 2009) | 1 line
  
  test bug fix.
........
  r20929 | kohsuke | 2009-08-19 14:48:23 -0700 (Wed, 19 Aug 2009) | 1 line
  
  bumped up to a new version that has a trouble-shooting hook for resetting cached views
........
  r20939 | kohsuke | 2009-08-19 15:20:57 -0700 (Wed, 19 Aug 2009) | 1 line
  
  picking up subversion 1.5
........
  r20974 | kohsuke | 2009-08-20 11:50:04 -0700 (Thu, 20 Aug 2009) | 3 lines
  
      Hudson can make mistakes in binding plugins to their right /plugin/NAME/ URLs.
      (<a href="http://www.nabble.com/Custom-Plugin---No-external-resources-available-td25064554.html">report</a>)
........
  r20975 | kohsuke | 2009-08-20 12:05:11 -0700 (Thu, 20 Aug 2009) | 1 line
  
  Build history AJX update was buggy.
........
  r20988 | kohsuke | 2009-08-20 17:01:57 -0700 (Thu, 20 Aug 2009) | 3 lines
  
      Hudson wasn't working on WebLogic on Windows.
      (<a href="http://www.nabble.com/Re%3A-Hudson-on-Weblogic-10.3-td25038378.html#a25043415">report</a>)
........
  r21009 | kohsuke | 2009-08-21 14:21:35 -0700 (Fri, 21 Aug 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-
........
  r21011 | kohsuke | 2009-08-21 14:22:00 -0700 (Fri, 21 Aug 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r21015 | kohsuke | 2009-08-21 16:00:17 -0700 (Fri, 21 Aug 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21095 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-26 15:13:55 +00:00
kohsuke 734abf2a82 Labels for nodes are shown in a tag cloud style. Compared to the patch, the following changes are made:
- fixed a divide-by-0 problem if every weight is 0.
- Stapler prefers a typed data structure over bare Map, so TagCloudFactory is changed to TagCloud.
- There are different tag cloud rendering for the same model, so the weight assignment is pushed outside the item. For example, labels can be made into a tag cloud via # of slave / # of tied jobs, etc.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21086 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-26 01:09:35 +00:00
mindless cd6a71af00 [FIXED HUDSON-4301] Creation of symlinks failed (or created in wrong location) since 1.320.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21046 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-24 21:36:34 +00:00
mindless d7ae2279ad [FIXED HUDSON-4272] don't add duplicate RootActions when reloading config from disk
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21030 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-23 16:51:10 +00:00
mindless 6a395cbf17 [FIXED HUDSON-4284] avoid division by zero for zero swap space
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21029 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-23 16:19:55 +00:00
kohsuke 8dbd42ee2b moved CVS help files to the resources folder to match the modern convention.
This is in preparation of moving CVS to its own plugin.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21008 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-21 20:49:00 +00:00
kohsuke 3a86ab8cc7 Labels are listed in the lexicological order
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21001 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-21 14:44:24 +00:00
kohsuke 29763ad34b moved to a better location.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20986 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 23:38:47 +00:00
kohsuke 62f8d7c7f5 [FIXED HUDSON-4251] Note that this code is no longer used in production by default.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20984 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 21:31:49 +00:00
abayer d024c7c53b Adding legacy constructor
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20976 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 19:07:39 +00:00
kohsuke 8c2f2f85dd making the message more informative.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20973 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 18:27:49 +00:00
kohsuke 6e58a21dbf no longer work in progress.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20972 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 18:14:47 +00:00
abayer 29df1717c9 [FIXED HUDSON-4205] Added support for Use Private Repository option for freestyle Maven steps, including those invoked through m2-extra-steps
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20969 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 15:52:23 +00:00
abayer bcfd3710fb [FIXED HUDSON-4152] Maven incremental build now will rebuild modules which were failed/unstable in previous build, even if there were no changes for those modules in this build.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20953 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 01:16:31 +00:00
kohsuke 43072d468d formatting changes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20949 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 00:50:26 +00:00
kohsuke e221c5d5b6 making the symlink creation faster. Profiler says this about 5% of the wall-clock execution time, although I doubt if it takes that much.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20948 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 00:50:05 +00:00
kohsuke f9cf329ec8 removed the Computer parameter as requested by lifeless.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20946 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 00:30:01 +00:00
kohsuke 8b3b5f76d1 Revisited abstraction to expose more data and enable evolution.
This is a breaking change, but no plugin in Hudson's repository is currently using this interface.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20945 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 00:19:43 +00:00
kohsuke a3f0a99256 Manually wiping out a workspace from GUI can cause NPE with some SCM plugins.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20934 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-19 21:59:50 +00:00
kohsuke 542d5637ca 1.XXX -> 1.319
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20932 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-19 21:55:29 +00:00
kohsuke 64442252f0 shouldn't escape & and < for .../consoleText
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20927 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-19 21:35:50 +00:00
kohsuke 45944f83a8 To revert, instead of to disable, set level to null to inherit from the parent.
Note that this is still incomplete, as these loggers might have been already pre-configured outside Hudson.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20906 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-19 19:06:12 +00:00
kohsuke 5b70aeb427 fixed an NPE regression I introduced while modifying the patch.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20900 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-19 16:13:48 +00:00
kohsuke 6a2243b2c9 Privilege escalation on Solaris without username was not working.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20894 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-19 14:20:22 +00:00
kohsuke e259abec4a [FIXED HUDSON-4261] applied a patch
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20880 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-19 01:24:49 +00:00
kohsuke 781ea7af96 Form validation for the remote FS root of slaves was not functioning.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20878 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-19 00:44:18 +00:00
kohsuke 474fe6950f i18n
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20877 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-19 00:25:37 +00:00
kohsuke 22cf46c089 formatting changes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20876 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-19 00:24:29 +00:00
kohsuke c21b8be786 added a defensive error check.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20875 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-19 00:23:08 +00:00
kohsuke b02ce88bbf [FIXED HUDSON-4235] Applied a patch, with a bit of changes. This will be in 1.321.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20863 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-18 23:14:26 +00:00
kohsuke d691265c65 having CLI prefix helps identify what these messages are for.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20861 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-18 22:42:01 +00:00
kohsuke 63cf2828bf - Added declarative way of writing a command.
- Added <tt>restart</tt> CLI command.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20860 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-18 22:41:21 +00:00
kohsuke a54f939a65 What's important is that it creates additional URL space under a ModelObject, and being able to add to the sidepanel is somewhat secondary.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20856 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-18 22:03:23 +00:00
kohsuke 184c6fa462 exposing this for a plugin that Jitu is writing.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20845 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-18 20:22:10 +00:00
huybrechts 63357ae367 fixed ProxyView
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20842 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-18 19:40:02 +00:00
huybrechts fbecaec0c1 make sure TestResultAction.data is always non-null
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20840 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-18 19:17:42 +00:00
abayer 13432495bb [FIXED HUDSON-4257] Junit failure error messages and stacktraces should render properly in all cases now.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20835 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-18 17:24:34 +00:00
jglick 2d8713a57c [HUDSON-4244] Making FilePath.delete throw IOException upon failure rather than return false.
Making Util.deleteFile public since it is useful.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20816 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-17 23:17:53 +00:00
kohsuke a4bb163805 Fixed a possible NPE in <tt>Hudson.removeNode</tt>
(<a href="http://www.nabble.com/problems-adding-deleting-nodes-p24999793.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20812 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-17 23:14:48 +00:00
kohsuke e9aec7b472 Added BUILD_URL and JOB_URL. See http://www.nabble.com/url-for-job-td25015395.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20811 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-17 22:55:21 +00:00