Commit Graph
11799 Commits
Author SHA1 Message Date
kohsuke 75c670fae6 Merged revisions 21412 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r21412 | abayer | 2009-09-03 08:55:53 -0700 (Thu, 03 Sep 2009) | 1 line
  
  Fixing rendering bug
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21425 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-03 18:57:51 +00:00
kohsuke f1577378b3 been here too long to claim it's still experimental.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21397 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-03 00:36:30 +00:00
pgweiss 2902da9c06 In executor status pane provide separate links to projects and builds.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21366 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-02 19:13:02 +00:00
pgweiss e9def49a05 If a project is not set for concurrent builds and there is more than one job
in the queue (e.g. if the build is parameterized), then don't make more than
one of them runnable.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21365 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-02 19:11:20 +00:00
mindless b07d3d007d Add validator and submit-time checks for axis names; uses Hudson.checkGoodName now,
though probably could be even more restrictive since these are used as shell variables.
Also added duplicate name check when form is submitted.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21340 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-02 03:48:16 +00:00
mindless 480dd9898d Make validator for new job name warn about invalid characters (instead of not
getting this error until you click Ok).
Make ComputerSet store the trimmed name when adding a new slave.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21332 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-02 01:05:54 +00:00
kohsuke 0ddd345f2f include Groovy-compiled test cases to the coverage, too.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21326 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-01 20:41:42 +00:00
kohsuke 9a3caa1d31 Fixed a regression in 1.112. Adding more tests about i18n chars.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21325 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-01 20:07:18 +00:00
abayer feb3b5b508 [FIXED HUDSON-1938] Moved Maven project's block when upstream is building functionality up to AbstractProject. Now available as advanced option for all project types
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21323 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-01 16:39:26 +00:00
kohsuke 3b67a0847d [FIXED HUDSON-4245] Fixed a bug in the tabular display of a matrix. Will be in 1.323.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21322 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-01 16:07:43 +00:00
mindless acc727d626 [FIXED HUDSON-2670] Matrix project includes axis values in URLs..
add encoding when needed for characters in these values, particularly /

- Use Util.rawEncode in AbstractItem.getShortUrl() so that axis values
  needing encoding will be encoded
- STAPLER-8 fix makes Stapler properly parse a URL with %2F (don't 
  split on %2F, only a real /)
- Stapler fix also makes urls generated via Ancestor class maintain proper encoding
- Add MatrixBuild.RunPtr.getShortUrl() and use this in MatrixBuild/ajaxMatrix.jelly
  so links to combinations are properly encoded
- Use Util.rawEncode in MatrixProject.getRootDirFor() so directories created on
  the filesystem won't use illegal characters; matching decode() in
  MatrixProject.loadConfigurations()



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21321 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-01 16:02:38 +00:00
sogabe d934a5dafc i18n & Japanese localization
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21318 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-01 10:33:39 +00:00
kohsuke b23751b120 [FIXED HUDSON-1261] Bundling the patched activation.jar that fixes the ClassCastException problem.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21316 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-01 02:06:22 +00:00
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 c5f4154cab bumping up to the latest Stapler
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21301 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-01 00:37:27 +00:00
kohsuke 3cfea3d1fa Merged revisions 21146,21189-21190,21192,21201 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r21146 | kohsuke | 2009-08-27 18:35:09 -0700 (Thu, 27 Aug 2009) | 1 line
  
  [FIXED HUDSON-4304] Using su instead of "daemon --user".In 1.322.
........
  r21189 | kohsuke | 2009-08-28 16:30:35 -0700 (Fri, 28 Aug 2009) | 1 line
  
  updated to 1.6
........
  r21190 | kohsuke | 2009-08-28 16:49:57 -0700 (Fri, 28 Aug 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_322
........
  r21192 | kohsuke | 2009-08-28 16:50:09 -0700 (Fri, 28 Aug 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r21201 | kohsuke | 2009-08-28 19:11:44 -0700 (Fri, 28 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@21299 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-31 23:49:17 +00:00
kohsuke 5bcdc23da1 rolling back rev.21074. The user shuoldn't worry about /cli suffix.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21258 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-30 19:59:03 +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
kohsuke 21369d995c adding links to the load statistics remote API.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21168 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-28 19:06:29 +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
kalecser 40b844c81b Improving some pt_BR messages
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21126 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-27 19:04:25 +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
pamdirac 24605c3d43 Fixed cli help message
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21074 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-25 12:40:00 +00:00
lifeless de275c23ae Improve the English help text for the node label field to make it clear how to separate multiple labels. This does not fix the issue fully as it needs translating still. HUDSON-3521.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21067 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-25 06:40:15 +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
sogabe 2a26a0efea I18N & Japanese localization for concurrent builds and provate repositories.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21018 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-22 14:09:31 +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 488edd72b6 there should be a separate help screen.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20987 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 23:46:08 +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
kohsuke cdcee1977c clarified the semantics with custom workspace.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20966 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 14:50:06 +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