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
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
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
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
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
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
kohsuke
6475ff6c4f
[HUDSON-1646] Formalized an extension point to monitor the system for self diagnosis.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14357 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 02:17:22 +00:00
kohsuke
c3a48d508c
[HUDSON-1646] Formalized an extension point to monitor the system for self diagnosis.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14356 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 02:15:22 +00:00
mindless
044c4ad122
[FIXED HUDSON-2793] Fix from HUDSON-2379 introduced a bug for artifact/workspace
...
filenames with spaces.
- Added new Util.rawEncode which encodes the right set of characters (based on
RFC1738) and deprecated Util.encode which only encodes non-ASCII. Unit test too.
- Change previous fix to use Util.rawEncode instead of URLEncoder.encode
- New fix: add h.xmlEscape call for each displayed filename in artifacts/workspace
so & and < are encoded for HTML display
- Add all these fixes in Run/artifacts-index.jelly which wasn't included before
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14355 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 01:58:47 +00:00
kohsuke
cfa07b5024
[HUDSON-1646] In 1.273, Added http://server/hudson/descriptor/hudson.triggers.SCMTrigger/ to show the summary of SCM polling activities and how long it's taking, to assist the trouble-shooting of this issue.
...
From this page, please jump to the polling log page of individual projects, to see why they are stuck.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14354 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 01:35:40 +00:00
kohsuke
f71f863f3a
added a centralized monitoring screen for the polling activities.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14353 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-11 00:55:58 +00:00
kohsuke
b3805d3a00
[FIXED HUDSON-2821] <t:executors/> and <t:queue /> chooses the correct ajax URL based on the current object's capability.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14351 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 20:08:47 +00:00
kohsuke
29abf90a85
modified to take base types into account
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14349 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 20:01:56 +00:00
kohsuke
dd0a559666
[HUDSON-2721] I'm still seeing a hang, this time waiting to join a destroyed process.
...
"main" prio=10 tid=0x08070400 nid=0x2 in Object.wait() [0xfe4b3000..0xfe4b5d48]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0xf46f7a40> (a java.lang.UNIXProcess)
at java.lang.Object.wait(Object.java:485)
at java.lang.UNIXProcess.waitFor(UNIXProcess.java:115)
- locked <0xf46f7a40> (a java.lang.UNIXProcess)
at hudson.Proc$LocalProc.join(Proc.java:119)
at hudson.Proc$LocalProc.kill(Proc.java:159)
at hudson.slaves.JNLPLauncherTest.launchJnlpAndVerify(JNLPLauncherTest.java:79)
at hudson.slaves.JNLPLauncherTest.testHeadlessLaunch(JNLPLauncherTest.java:45)
Perhaps somehow it's failing to destroy the child process? The child process stack trace indicates no trace of being terminated.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14348 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 19:23:17 +00:00
kohsuke
af75551498
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14342 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 17:57:11 +00:00
kohsuke
4ed29df79b
[maven-release-plugin] prepare release hudson-1_272
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14340 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 17:53:59 +00:00
kohsuke
eabc1a198b
JNLP slave agents is made more robust in the face of configuration errors.
...
(<a href="http://d.hatena.ne.jp/w650/20090107/1231323990 ">report</a>)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14337 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 09:13:28 +00:00
kohsuke
5a56169ba8
Remote XML API now suports the 'exclude' query parameter to remove nodes that match the specified XPath.
...
(<a href="http://d.hatena.ne.jp/masanobuimai/20090109#1231507972 ">report</a>)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14336 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 08:38:30 +00:00
kohsuke
5787a1da6e
visibility adjustments. Rendering the whole test result in one batch is probably too much.
...
(Note that even after this change, with a sufficient depth level you can still do so.)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14335 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 08:30:35 +00:00