Commit Graph
17505 Commits
Author SHA1 Message Date
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 736aec2cae updated changelog as a part of the release
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14345 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 18:23:05 +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 46fffdb82d ignore artifacts
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14339 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 17:42:41 +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
kohsuke 56d1e530ca doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14330 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 06:46:39 +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
sogabe 36557182bc Fixed 404 error in Dumb configuration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14327 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 01:47:09 +00:00
kohsuke a27fd88c5d [FIXED HUDSON-2816] turns out this is because <expandableTextbox /> doesn't work properly with form field databinding.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14326 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-10 01:29:11 +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 053e8e7b47 Upgraded JNA to 3.0.9 to support installation as a service on 64bit Windows.
(<a href="http://www.nabble.com/error-installing-hudson-as-a-windows-service-tt21378003.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14321 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-09 22:34:53 +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 07794e3041 updated changelog as a part of the release
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14318 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-09 22:26:13 +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 4b2f0f145e [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14314 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-09 21:51:06 +00:00
kohsuke 38f33e7513 [maven-release-plugin] prepare release hudson-1_271
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14312 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-09 21:47:57 +00:00
kohsuke 1254e9aeb1 fixed a test failure.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14311 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-09 21:44:08 +00:00
mindless dca8ff0813 Use b.parent instead of b.project in case b is not an AbstractBuild
(as with an ExternalRun), so the project name/link is shown in Build History.
Also use displayName instead of name.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14296 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-09 16:44:53 +00:00
mindless 9cb284b752 [FIXED HUDSON-2812] Add missing word in help text.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14291 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-09 16:15:45 +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
kohsuke 96f8deb8a5 wrong place to have @title
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14261 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-09 05:41:10 +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 cd948cf643 [FIX HUDSON-2581] make test run under windows
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14258 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-08 23:34:43 +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
mindless 055b1ce30d Fix some bugs from r14215, new master-slave stuff:
- Fix Status link on (master) node page (was missing parens)
- Fix Delete, Configure and Build History links on node pages
  (pointed to top level instead of relative)
- Only show New Node link if you have Administer permission
- Add permission check on computer/new page
- Removed broken "Configure Executors" link on nodes page
  (now each node has its own Configure link)
- Fix one help link in DumbSlave config page
- Fix group label for new Slave permissions


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14250 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-08 21:53:32 +00:00
kohsuke b8355fe90e doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14246 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-08 06:24:06 +00:00
kohsuke f62c736a56 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14245 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-08 06:23:48 +00:00
kohsuke 2efd5ca58f added missing titles.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14244 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-08 06:16:41 +00:00
kohsuke f00710bf1a doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14243 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-08 06:09:03 +00:00
kohsuke 3151ff1b80 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14242 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-08 06:07:19 +00:00