kohsuke
8193d06cb8
This change broke JNLPLauncherTest by hiding JNLP launch link.
...
So for now I'm chaging the implementation so that it hides launcher main.jelly if and only the strategy demands to do so,
which is closer to Stephen's original intention (even though this makes the method somewhat inconsistent with its name.)
I'm of opinion that we shouldn't try to hide the launcher, but I'm waiting for Stephen to chime in on that change.
See http://www.nabble.com/Re%3A-svn-commit%3A-r14467---trunk-hudson-main-core-src-main%3A-java-hudson-model-java-hudson-slaves-resources-hudson-model-Computer-tt21465182.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14488 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 21:44:04 +00:00
kohsuke
211ca895ec
Fixed a test broken by rev.14457.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14487 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 21:19:50 +00:00
kohsuke
316496aaa4
Boolean operators are awkward inside XML, so let's use more human-friendly equivalent
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14486 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 21:09:59 +00:00
kohsuke
78fc5b6d7f
doc improvement
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14485 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 21:06:04 +00:00
kohsuke
faada885ae
in addition to rev.14483, this change activates the SMF lifecycle support
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14484 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 21:00:13 +00:00
kohsuke
e20e94d5c2
Added SMF life cycle.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14483 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 20:59:18 +00:00
mindless
b656cd8567
[FIXED HUDSON-2843] Util.getTimeSpanString() got exception for times <10 sec
...
on locales with comma as fraction separator. Now passing time value to localizer
as float instead of String.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14480 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 18:03:38 +00:00
stephenconnolly
1d6df45049
If some mad fool (i.e. me) is on the slave status page and has auto refresh enabled, when the schedule says that the slave should be taken off line, but the take off-line check has not had a chance to run yet, don't tell people that they cannot manually launch the slave...
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14469 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 12:57:38 +00:00
stephenconnolly
4bc3398be0
I wasted an hour trying to find this link on a clean Hudson install. And the link has useful information even if you are not running slave nodes. This makes its function more obvious and generic
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14468 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 12:49:25 +00:00
stephenconnolly
fd98a6512c
When a node is scheduled to not be available, we should not show the manual launch button
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14467 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 12:41:43 +00:00
stephenconnolly
925ef1d09d
When Hudson was initially started, it was ignoring the retention strategy and starting all nodes anyway.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14466 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 11:31:17 +00:00
stephenconnolly
c5f1ca1d2d
tone logging down a tad
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14465 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 11:24:39 +00:00
stephenconnolly
efb1386cc7
add a description to clarify what happens when the time to keep the node on-line is longer than the time between starts.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14464 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 11:24:08 +00:00
stephenconnolly
80bc832cab
Fixing a number of issues, and ensuring that the schedule is processed a bit more correctly
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14463 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 11:20:14 +00:00
stephenconnolly
3cd3317ee8
Should expose retentionStrategy descriptors via an URL so that they perform parameter validation
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14462 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 11:19:05 +00:00
stephenconnolly
a3a7bd1f3f
Doh! Bad copy-paste
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14460 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 08:57:40 +00:00
mindless
47d45678cc
Fix to allow multiple rowSets with same "name" parameter,
...
which can happen if multiple plugins use a config.jelly for the plugin class
(Hudson/configure.jelly does f:rowSet name="plugin" for each one).
Fix is to use the generated id for the id attribute rather than the given
name, so there are no duplicate ids.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14457 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 05:48:58 +00:00
kohsuke
c646d9f515
recording a progress of auto-installing SMF and where I get blocked
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14456 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-14 02:32:29 +00:00
jglick
d2ed4a2b05
Specifying maven-antrun-extended-plugin = 1.36 in a couple more places.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14455 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 23:31:48 +00:00
kohsuke
35621c081a
bug fix
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14454 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 23:28:16 +00:00
kohsuke
e268bbcd4c
auto-import manifest
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14453 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 23:25:38 +00:00
jglick
61f29296ec
maven-antrun-extended-plugin needed an explicit version since maven.glassfish.org is down.
...
Also removing explicit version for maven-jar-plugin (NetBeans' editor warns that this duplicates the default setting.)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14452 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 23:24:03 +00:00
stephenconnolly
500029a424
adding scheduled slave startup
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14446 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 16:49:58 +00:00
martinficker
5f5568a2f4
Fix: Let the build fail if Environment.tearDown returns false.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14437 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 14:45:37 +00:00
kohsuke
8a9208081b
updated changelog as a part of the release
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14423 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 02:51:21 +00:00
kohsuke
43a84257a7
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14419 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 02:17:55 +00:00
kohsuke
d370a516fe
[maven-release-plugin] prepare release hudson-1_274
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14417 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 02:17:31 +00:00
kohsuke
183c25bb31
[HUDSON-2829] I think I fixed this in 1.274. Let me know if that fixes the problem for you.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14414 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 02:01:33 +00:00
kohsuke
0210c4bf66
XML API caused NPE when xpath=... is specified.
...
(<a href="https://hudson.dev.java.net/issues/show_bug.cgi?id=2828 ">issue 2828</a>)
Fixed in 1.274.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14413 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 01:59:10 +00:00
kohsuke
5260215da2
added a regression test case.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14412 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 01:34:11 +00:00
kohsuke
b81e451b8b
this should do.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14411 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 01:28:47 +00:00
kohsuke
5045179bba
rolled back this after seeing a comment from Alan:
...
http://www.nabble.com/Status-Code-400-viewing-or-downloading-artifact-whose-filename-contains-two-consecutive-periods-tt21407604.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14410 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 01:26:58 +00:00
kohsuke
759d4d90d2
Hudson renders durations in milliseconds if the total duration is very short.
...
(<a href="http://www.nabble.com/Unit-tests-duration-in-milliseconds-tt21417767.html ">report</a>)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14409 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 01:11:49 +00:00
kohsuke
e1153d511c
Artifact/workspace browser was unable to serve directories/files that contains ".." in them.
...
(<a href="http://www.nabble.com/Status-Code-400-viewing-or-downloading-artifact-whose-filename-contains-two-consecutive-periods-tt21407604.html ">report</a>)
This was due to a security check.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14408 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 00:45:05 +00:00
kohsuke
9bd02f91fe
doc improvement
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14407 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 00:25:00 +00:00
kohsuke
bf9d021a2d
On Unix, Hudson will contain symlinks from build numbers to their corresponding build directories.
...
(Also see the previous commit that includes the change where we actually create a symlink.)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14406 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 00:04:30 +00:00
kohsuke
c9d107cc87
so this is where we create the .2008-01-23-01-23-45 directory.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14405 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-13 00:02:10 +00:00
elefevre
cf8bd4e195
new translations and fixes for French
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14396 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 22:21:59 +00:00
kohsuke
7b7ea79178
[FIXED HUDSON-2461] Applied a slightly modified patch. Fixed in 1.274.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14395 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 20:12:57 +00:00
kohsuke
1d82e08f35
don't use a deprecated class
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14394 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 20:09:07 +00:00
kohsuke
d65f6ecfc8
updated changelog as a part of the release
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14391 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 19:50:50 +00:00
kohsuke
0ab9ecb3b3
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14388 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 19:21:25 +00:00
kohsuke
0efd602016
[maven-release-plugin] prepare release hudson-1_273
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14386 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 19:16:15 +00:00
kohsuke
d46586fb87
[FIXED HUDSON-2781] This appears to be already fixed by brucechapman in rev.14235.
...
I tweaked the script a bit to avoid global scope corruption.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14385 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 18:36:19 +00:00
kohsuke
0d98e72f40
[FIXED HUDSON-2804] I must have failed to handle non-ASCII characters correctly when I moved them one file to another. Fixed in 1.273.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14384 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 17:33:29 +00:00
sogabe
4719554a35
Added Japanese localzation
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14362 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 03:10:57 +00:00
kohsuke
f061322cd9
[FIXED HUDSON-2818] D'oh! Fixed in 1.273.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14361 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 02:55:48 +00:00
kohsuke
0a372d0958
avoid ajax calls that will fail, as these URLs require the read access.
...
This should fix the test failures.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14360 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 02:40:04 +00:00
kohsuke
20a1e63047
Hudson core version update check is reimplemented as AdministrativeMonitor.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14359 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 02:30:06 +00:00
kohsuke
c31e1ba8d5
improved jelly taglib doc generation.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14358 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 02:18:15 +00:00