kohsuke
c3c55efaa8
I misunderstood the use of ThreadPoolExecutor. Fixed a problem so that it does the correct parallel loading
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11819 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-29 02:08:08 +00:00
kohsuke
24e470a2f2
a little bit of performance improvement
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11815 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-29 00:44:06 +00:00
kohsuke
95086b36e5
Making it static since XStream is thread safe.
...
Making it public so that plugins can register custom converter for their Task implementations.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11813 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-29 00:38:05 +00:00
kohsuke
84e90622b9
allowing the # of executors to be set explicitly.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11812 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-29 00:11:19 +00:00
kohsuke
1c96a59d48
parallel loading wasn't really kicking in. Apparently I was using a wrong kind of Queue implementation.
...
Added a probe for the start-up performance monitoring
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11811 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-28 23:46:45 +00:00
kohsuke
760436d4e4
[HUDSON-1461] reducing the amount of bogus error messages that Hudson prints during start up.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11804 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-28 18:22:12 +00:00
kohsuke
d47025985f
[HUDSON-1461] reducing the amount of bogus error messages that Hudson prints during start up.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11803 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-28 18:09:09 +00:00
kohsuke
d471b98d30
a big part of memory leak seems to be caused by unnecessarily expanded ByteArrayOutputStream, so reallocating new instances instead of reusing.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11800 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-28 00:06:11 +00:00
kohsuke
067987b3da
[FIXED HUDSON-2273] clarified what the name really meant
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11779 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-27 04:26:55 +00:00
kohsuke
91ec9f5dc0
typo
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11726 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-25 18:44:01 +00:00
xlv
92044bb090
[FIXED HUDSON-2220] SNAPSHOT in version numbers need to be handled accordingly.
...
- a previous call to toLowerCase() made the test useless.
- possible trailing info after "-SNAPSHOT" resulted in parsing exception.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11716 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-24 22:17:05 +00:00
kohsuke
dc11078a8e
initialize values to something so that the test harness that doesn't use WebAppMain still works correctly
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11713 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-24 19:37:04 +00:00
kohsuke
00e13bf45a
Don't put space in between -D and name=value (even though it seems like this has been working fine)
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11704 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-23 01:42:46 +00:00
kohsuke
12fa365b32
[FIXED HUDSON-2221] Fixed in 1.250. This is actually unrelated to the veto, but your manually invoking this made the bug more explicit.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11665 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-22 01:52:59 +00:00
kohsuke
be7f3ab5f6
[FIXED HUDSON-1445] Supported the ldaps:// protocol.
...
Given that LDAPS is deprecated in favor of startTLS in LDAP v3, I felt it doesn't deserve the real estate of having a separate checkbox, so the approach is somewhat clumsy.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11664 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-22 01:36:16 +00:00
kohsuke
4f1f36f034
no longer need to have the explicit constructor.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11661 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-22 01:18:09 +00:00
kohsuke
81c48c604a
[FIXED HUDSON-2238]
...
I think the essnce of the problem is that the similarity between MarkupText and SubText isn't appropriately captured in the design, so I fixed it such.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11657 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-22 00:50:36 +00:00
kohsuke
66528e43aa
fixed a test failure caused by the lack of reloading configuration at the test case boundary.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11655 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-21 22:10:20 +00:00
kohsuke
31c9fbf032
adding tunneling option for JNLP slave agents. This came from Ken Hofsass who needed the connection to the server be tunneled for security reasaons.
...
jnlp-agent needs to be updated to take this into account.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11638 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-20 18:08:36 +00:00
kohsuke
02434ca1af
avoid calling the deprecated method.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11629 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-20 01:00:46 +00:00
kohsuke
4153308074
added a hook to skip update center updates. This is primarily added for testing.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11625 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-20 00:32:20 +00:00
kohsuke
0d1ef71006
doc improvement.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11608 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-19 04:09:32 +00:00
kohsuke
9841dad522
doc improvement.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11607 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-19 04:00:09 +00:00
kohsuke
a24fd49d6a
not sure why, but otherwise a directory creation fails.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11605 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:52:06 +00:00
kohsuke
814cd5ba4b
[FIXED HUDSON-2230] Fixed IllegalMonitorStateException. In 1.249.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11604 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:51:35 +00:00
kohsuke
4faa52d0ec
JNLP slave agent fails to launch when the anonymous user doesn't have a read access.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11602 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:30:57 +00:00
kohsuke
a9a6d17e55
unused imports
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11598 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:04:29 +00:00
kohsuke
f9486afebc
ContainerAuthentication needs "authenticated" built-in role.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11597 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:02:06 +00:00
kohsuke
06df8bb626
making the add method public to improve testability, but as a side effect, this makes this class mutable.
...
The concurrency commitment of the class needs to be defined eventually, or perhaps this class should be made immutable again.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11571 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 02:15:46 +00:00
kohsuke
70b6e4fda4
Trying to access protected resources anonymously now results in 401 status code, to help programmatic access.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11568 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 01:56:05 +00:00
kohsuke
f1d3c50d61
Added the setSlaves() to enable programmatic slave configuration.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11516 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 23:05:35 +00:00
kohsuke
8339f02284
Added a mechanism to perform a bulk change without intermediate save().
...
This allows us to define more setter methods on configuration values, which in turn improves the ability to make programatic changes to the configuration, which in turn improves testability.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11515 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 23:01:06 +00:00
kohsuke
bfaf4a427d
added a switch to skip the "ln" invocation, even on Unix.
...
This is primarily added for the sake of Project Caroline, but I might remove this later.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11514 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 22:59:25 +00:00
kohsuke
cbb13c1fc5
it already inherits this through ItemGroup
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11513 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 22:25:49 +00:00
kohsuke
283d6ea4ba
Run is a PersistenceRoot, too.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11512 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 22:24:09 +00:00
kohsuke
9e448a1982
Hudson is a PersistenceRoot.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11511 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 22:23:48 +00:00
kohsuke
4f290961fc
link is deprecated
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11487 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 01:44:17 +00:00
kohsuke
b9f5d6a736
[FIXED HUDSON-2220] SNAPSHOT in version numbers need to be handled accordingly.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11485 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 01:25:51 +00:00
kohsuke
d292c13b55
this message ends up filling logs.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11472 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-14 20:11:39 +00:00
kohsuke
35c1057c86
added a missing VariableResolver
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11471 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-14 18:06:50 +00:00
kohsuke
1439b841ef
Added an ability to manually wipe out the workspace.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11469 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-14 17:55:35 +00:00
kohsuke
f62eba40a1
handle AbortException as per the contract.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11461 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-13 23:42:44 +00:00
kohsuke
48014634b0
doc improvement
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11458 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-13 22:33:34 +00:00
kohsuke
e68ac29120
formatting changes
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11457 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-13 21:49:48 +00:00
kohsuke
05fccc801e
added a method to unzip
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11456 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-13 21:48:40 +00:00
kohsuke
1b24ccf66c
making this final broke the TFS plugin. Rolling back.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11430 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-12 18:32:15 +00:00
kohsuke
dc296f680d
improved error handling
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11404 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-12 00:29:17 +00:00
kohsuke
d876beffbe
pushing these methods up in the inheritance hierarchy to make logs accessible for all Computer derived classes.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11403 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-12 00:19:29 +00:00
kohsuke
4c893a3f30
Detect the updates to <tt>hudson.war</tt> and report it.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11397 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-12 00:03:19 +00:00
kohsuke
467519b2fe
set the value to something to make this field non-null all the time.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11396 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-11 23:17:54 +00:00