kohsuke
2c449c990e
doc improvement
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34625 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:34:13 +00:00
kohsuke
3b17beabf5
use Exception instead of boolean to capture more information about how the latch was aborted.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34624 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:33:56 +00:00
kohsuke
3cf4b8f18a
Made executorCell.jelly customizable per Executable.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34620 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:30:15 +00:00
kohsuke
27cb0e90b6
added a test JobProperty implementation that makes the job heavier
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34619 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:29:37 +00:00
kohsuke
a9f3b6f59c
bug fix
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34618 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:29:09 +00:00
kohsuke
3d7985b51d
added more convenience methods
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34617 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:28:51 +00:00
kohsuke
61c6e42952
- this is no longer building Matching, hence renamed
...
- a bug fix in the job offer assignment logic
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34616 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:28:21 +00:00
kohsuke
63411ab408
synchronization moved to latch.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34615 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:27:51 +00:00
kohsuke
40d4c2d76a
improving cross-linking between WorkUnit and Executor
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34614 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:27:26 +00:00
kohsuke
0cee4ef199
SubTask -> Task traversal and additional bug fix
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34613 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:26:49 +00:00
kohsuke
eedac7b0fc
added a mechanism to contribute SubTasks to AbstractProject.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34612 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:26:11 +00:00
kohsuke
d362c5609d
extended LoadBalancer to work with the new paradigm.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34610 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:25:25 +00:00
kohsuke
a41f73d102
abstraction improvement and doc improvement.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34609 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:24:56 +00:00
kohsuke
5f3fc70769
checkpoint. now it at least passes all the compilation.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34608 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:24:37 +00:00
kohsuke
cc38c6561b
Work in progress for job with multiple executor consumption support.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34607 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:24:13 +00:00
km
99294e5812
Fixing minor typo.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34600 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 20:18:34 +00:00
kohsuke
447224ed73
[HUDSON-7378] LabelProperties should be able to refer to other labels, and those things should be persisted as references, not as a bean.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34591 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 18:19:14 +00:00
kohsuke
12904a5028
while loading LabelAtomProperties, they may refer to other labels, which can cause cycles.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34590 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 17:46:00 +00:00
kohsuke
e4e947081e
added a mechanism to refer to controls in the ancestor, not just the siblings.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34581 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 07:36:43 +00:00
sogabe
ad42894528
Fixed warnings of PMD.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34579 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 04:02:37 +00:00
kohsuke
24c97b9f83
[FIXED HUDSON-7380] Handle initialization problem more gracefully
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34544 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-08 05:39:14 +00:00
kohsuke
8ec3054c30
Added downgrade support for the core and plugins.
...
--------
Merged revisions 32975,33588,33697,34342 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/downgrade
........
r32975 | kohsuke | 2010-07-16 21:27:59 +0200 (Fri, 16 Jul 2010) | 1 line
committed my partially modified version
........
r33588 | dienomight | 2010-08-05 09:42:36 +0200 (Thu, 05 Aug 2010) | 13 lines
Added getBackupVersion (UpdateCenter)
downgrade button now shows version of backup war file
Added HudsonDowngradeJob (UpdateCenter)
downgrading process is works now as HudsonUpgradeJob
Changed rewriteHudsonWar (Lifecycle)
backup file is deleted when downgrading
hudson/model/Hudson/downgrade_success.jelly is no longer necessary
Changed rewriteHudsonWar(WindowsServiceLifecycle)
hudson run as windows service creates backup during upgrading
........
r33697 | dienomight | 2010-08-11 17:09:48 +0200 (Wed, 11 Aug 2010) | 8 lines
committed changes:
"plugins downgrade functionality"
added:
* PluginDowngradeJob in UpdateCenter
* getCanDowngrade & getBackupPath & getBackupVersion in PluginWrapper
* additional "previous version" column in installed.jelly (PluginManager) with downgrade button (when it's possible to downgrade)
* doDowngrade in PluginManager
* deployBackup in UpdateSite
........
r34342 | dienomight | 2010-09-03 09:52:13 +0200 (Fri, 03 Sep 2010) | 12 lines
Code improvements:
jelly files:
*I put text inside ${%} so it would be available for translation.
UpdateCenter:
*changed getCanDowngrade to isDowngradable
*getBackupVersion use JarFile class to get version of .war backup
PluginWrapper:
*changed getBackupPath to getBackupFile
*getBackupVersion use JarFile class to get version of plugin backup
PluginManager:
*changed condition in doDowngrade method
........
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34543 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-08 05:36:29 +00:00
sogabe
cba29b60aa
[FIXED HUDSON-7384] RSS of each user's "last builds only" are not found.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34510 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-07 16:03:45 +00:00
mindless
f97a9d71e4
[HUDSON-7281] return emptyList for empty AxisList so "Build on multiple nodes"
...
on config page doesn't always come up checked even when unused.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34498 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-06 23:44:46 +00:00
mindless
869716d471
[FIXED HUDSON-7378] avoid StackOverflow error in LabelAtom.load
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34476 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-05 18:09:40 +00:00
mindless
b7d9526346
remove extra ;
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34450 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-04 16:26:04 +00:00
mindless
38fffda5ea
[FIXED HUDSON-7299] export just LabelAtomProperty objs, not DescribableList which
...
is not exportable, and was generating errors in remote API.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34310 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-02 04:21:51 +00:00
kohsuke
ebfcd4bc87
recording details
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34301 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-02 00:59:30 +00:00
kohsuke
c5269550d5
follow up fix for a race condition
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34300 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-02 00:45:49 +00:00
kohsuke
02fbfd9ed5
Fixed a possible race condition during Hudson start up.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34294 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-01 22:09:28 +00:00
willemv
4abc357d33
[HUDSON-7322] Improved API of MailSender so that mailing upstream culprits can be more robust
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34287 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-01 20:54:59 +00:00
mindless
dfb7633453
[FIXED HUDSON-2149] add comma to list of characters that need escaping on windows
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34229 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-31 16:12:36 +00:00
mindless
98a39f36dd
[HUDSON-7204] update regexp to work for 2 consecutive empty properties
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34228 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-31 15:14:45 +00:00
kohsuke
d011c81feb
Improved console annotations for Ant.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34213 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-30 18:37:02 +00:00
kohsuke
8527286c06
added ability to inject CSS from ConsoleNotes.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34212 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-30 18:35:47 +00:00
kohsuke
6d492940d9
Cache LDAP attributes to go easy on memory footprint. Where I saw this problem, each LDAP BasicAttributes is about 30K big, and a programmatic client logged in 7000 times, resulting in 140MB of memory consumption just by LDAP attributes.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34211 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-30 18:34:28 +00:00
sogabe
8666a5aec3
Removed unused import.(PMD warnings)
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34182 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-27 23:50:00 +00:00
mindless
99aaa67bec
[FIXED HUDSON-6628] There is some code duplication in main() methods between
...
CLICommand and the anonymous CLICommand subclass in CLIRegisterer.. the latter
was missing the loadStoredAuthentication call which enables CLI login command.
CLI login now works for CLI commands defined via @CLIMethod annotation.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34178 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-27 20:34:29 +00:00
sogabe
becb2768bd
Removed unused import.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34177 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-27 18:30:35 +00:00
rseguy
e1c25beacc
[FIXED HUDSON-1871]
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34172 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-27 13:36:27 +00:00
kohsuke
33f6eb502f
interrupt is used as a suicide signal for executors, so go back to the top if that was why we were interrupted. Unlikely race condition, but still...
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34159 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 23:39:17 +00:00
dty
3f5dec66c2
Fix version number in a @since.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34158 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 22:58:02 +00:00
dty
d0c3ebec93
Allow transient actions to be passed through the trigger to the job to be
...
executed.
This will be used by the post-commit hook in the Subversion plugin to specify
the revision to check out at.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34157 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 22:38:54 +00:00
kohsuke
9d74a9005f
avoid NPE
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34154 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 19:02:39 +00:00
kohsuke
ba15881681
added a hook to do some computation before exposing build variables
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34124 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 02:19:12 +00:00
kohsuke
7320ce252f
Merged revisions 34000-34001,34005,34007,34038 via svnmerge from
...
https://www.dev.java.net/svn/hudson/branches/rc
........
r34000 | kohsuke | 2010-08-20 14:16:13 -0700 (Fri, 20 Aug 2010) | 2 lines
[FIXED HUDSON-7216]
Fixed a 1.372 regression in handling whitespace and other characters in label names.
........
r34001 | kohsuke | 2010-08-20 14:26:55 -0700 (Fri, 20 Aug 2010) | 1 line
foo*bar parses just like foo-bar parses OK.
........
r34005 | kohsuke | 2010-08-20 20:08:26 -0700 (Fri, 20 Aug 2010) | 1 line
[maven-release-plugin] prepare release hudson-1_373
........
r34007 | kohsuke | 2010-08-20 20:08:40 -0700 (Fri, 20 Aug 2010) | 1 line
[maven-release-plugin] prepare for next development iteration
........
r34038 | kohsuke | 2010-08-23 11:02:55 -0700 (Mon, 23 Aug 2010) | 1 line
updated changelog as a part of the release
........
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34118 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 01:50:31 +00:00
kohsuke
a7b3979989
doc improvement.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34082 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-25 00:30:07 +00:00
kohsuke
5c6b2b000f
doc improvement.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34081 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-25 00:28:37 +00:00
kohsuke
ef7d99c9a0
doc improvement.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34080 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-25 00:16:19 +00:00
kohsuke
67547f4170
have some initial default value to avoid NPE in onModified().
...
This is a stop-gap fix to a bigger problem of XStream not persisting the owner of a persisted list.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34079 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-24 23:04:39 +00:00