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
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
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
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
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
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
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
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
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
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
kohsuke
2fef1c17bf
added export annotation
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14334 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 08:24:04 +00:00
kohsuke
1d591994bf
visibility adjustment after seeing http://d.hatena.ne.jp/masanobuimai/20090109#1231507972
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14333 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 08:15:17 +00:00
kohsuke
7211200b72
visibility adjustment after seeing http://d.hatena.ne.jp/masanobuimai/20090109#1231507972
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14332 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 08:08:37 +00:00
kohsuke
2f9c983cb6
[FIXED HUDSON-2779] API needs to remain compatible with pre-1.269.
...
Also note that the primary view may not necessarily expose all items, so <jobs> is necessary on Hudson.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14331 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 07:55:30 +00:00
sogabe
692d9e4c72
Updated Japanese localization up to r14328
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14329 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 04:31:28 +00:00
kohsuke
833e362233
don't collect usage statistics during tests.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14325 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 01:11:59 +00:00
kohsuke
89f7dbb311
allow the system message to be set programmatically.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14324 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 01:06:35 +00:00
kohsuke
c63ce3f610
Turns out if the config is reloaed from the disk before it's saved, the primaryView field is left non-null and we won't create the All view.
...
See the post from Xavier in http://www.nabble.com/all-view-disappeared-tt21380658.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14323 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 00:11:18 +00:00
kohsuke
20c13b724e
If for some reason "All" view is deleted, allow people to create it again.
...
(<a href=http://www.nabble.com/all-view-disappeared-tt21380658.html >report</a>)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14322 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-09 23:38:57 +00:00
kohsuke
9bfced3240
Improved the error diagnosis, after seeing http://www.nabble.com/error-installing-hudson-as-a-windows-service-tt21378003.html
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14320 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-09 22:29:12 +00:00
kohsuke
86b921ec0a
Improved the error diagnosis, after seeing http://www.nabble.com/error-installing-hudson-as-a-windows-service-tt21378003.html
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14315 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-09 21:52:09 +00:00
kohsuke
98483e4fe1
[FIXED HUDSON-754] Master can now have its own set of labels.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14270 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-09 06:55:23 +00:00
kohsuke
ef880cf140
Hudson's permission group should be the first in the list.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14269 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-09 06:22:01 +00:00
kohsuke
d0213f18e5
Hide delete link from /computer/(master)
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14267 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-09 06:11:46 +00:00
kohsuke
b96b5d449f
bug fix. The "configure" link from the computer page wasn't getting anywhere.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14265 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-09 05:52:48 +00:00
mindless
4cad0b1f29
[FIXED HUDSON-1768] Handle unsafe URL characters for package/class names too.
...
[FIXED HUDSON-2788] Add backslash as URL unsafe charcter (IE auto-replaces \ as /).
Details:
Add getSafeName (just does safe(getName())) in TabulatedResult.
Use safe names as keys in maps for PackageResults/ClassResults, and use safe name
when constructing links in jelly and in CaseResult.getRelativePathFrom().
Add \ as character to replace in TestObject.safe().
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14260 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-09 04:36:41 +00:00
brucechapman
16709852a9
[FIX HUDSON-2580] "Email Notification" action does not work as a Promotion plugin action
...
Cause: Mailer extends Publisher extends BuildStepCompatibilityLayer without
overriding BuildStepCompatibilityLayer's version of perform(AbstractBuild...)
therefore perform() does nothing except return true.
Fix: Override the new perform signature in Mailer.
Getting this to work involved removing a whole swag of pointless generics in
MailSender which doesn't actually care about the specific type of AbstractBuild
or AbstractProject so wildcards can be used, simplifying things quite a lot.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14253 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-08 22:10:02 +00:00
kohsuke
4f98054f55
avoid using a deprecated method
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14239 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-08 05:32:37 +00:00
kohsuke
1ebeb4db23
marked unused "prefix" parameter.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14238 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-08 05:31:36 +00:00
kohsuke
b644bdd18c
additional merge fixes
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14218 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-07 01:27:24 +00:00
kohsuke
4eac0db458
somehow committed w/o fully resolving conflits
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14217 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-07 01:18:48 +00:00