Commit Graph
7188 Commits
Author SHA1 Message Date
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
kohsuke 60bccc26eb code should be where it belongs to.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21133 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-27 21:20:39 +00:00
kohsuke f263d84940 Fixed a race condition that appear as test failures. This is caused by the remote peer sending us a request before we get to obtain the remote capacity.
I moved the capability exchange to the preamble negotiation to avoid this problem.

----
 java.lang.NullPointerException
	at hudson.remoting.UserRequest._serialize(UserRequest.java:136)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:236)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21132 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-27 21:19:15 +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 a54fb69dce Rolling back changes - they made the tests pass on my system but now they fail erratically in the official build. Someone smarter than me should look into this. =)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21117 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-27 16:43:21 +00:00
kohsuke dab996e26a improve the error diagnostics when Maven terminates abruptly.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21109 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-27 05:36:56 +00:00
abayer 8d02146fbd Added/increased delay on slave creations to deal with test failures due to timing problems
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21098 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-26 19:50:24 +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 2449716d30 added env check
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21094 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-26 14:44:11 +00:00
kohsuke 0b89c4742d bug fix.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21089 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-26 01:21:50 +00:00
kohsuke bcf1e1c6ed these are now instanciable.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21088 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-26 01:20:53 +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
redsolo ab9ad5192b Changed debian's init.d script so it sets the HOME env variable correctly.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21075 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-25 13:04:06 +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
lifeless e55b9fe0ce Improve the help text for tied nodes in the job configuration page to document
that jobs can be tied to labels. FIXED HUDSON-2139


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21066 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-25 06:12:56 +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 5768da22a2 Fixed a NoClassDefFoundError problem that happens in remoting+maven+3rd plugin combo.
<a href="http://www.nabble.com/NoClassDefFoundError%3A-hudson-maven-MavenBuildProxy%24BuildCallable-td24719002.html#a24719002">report</a>


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21002 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-21 18:13:30 +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
abayer 741c66e373 Not sure how I forgot to add this
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20968 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 15:49:16 +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 eb19d208e5 Adding documentation
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20962 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 13:51:09 +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
abayer 5f28cbb854 Fixing compilation error
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20950 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 00:51:50 +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
abayer d157e28526 Missed a few files
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20947 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 00:48:51 +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
abayer 806a619b8f Adding ITs for multi-module Maven builds - a few commented out ones I'm not sure about yet as well - also added support for additional bundled Maven versions for testing
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20944 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 00:12:24 +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 237f1e275d fixed a test failure.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20933 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-19 21:55:47 +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