Commit Graph
32590 Commits
Author SHA1 Message Date
kohsuke 4e8c1fc529 Initialized merge tracking via "svnmerge" with revisions "1-35886" from
https://www.dev.java.net/svn/hudson/branches/rc


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35889 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-13 20:07:06 +00:00
kohsuke 872b34b37d Merged revisions 35691,35693,35713 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r35691 | kohsuke | 2010-10-09 19:23:28 +0200 (Sat, 09 Oct 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_380
........
  r35693 | kohsuke | 2010-10-09 19:23:41 +0200 (Sat, 09 Oct 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r35713 | kohsuke | 2010-10-09 21:28:36 +0200 (Sat, 09 Oct 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35883 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-13 19:59:16 +00:00
kohsuke 602b194f66 moving the plugin to the plugins directory
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35882 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-13 19:56:15 +00:00
kohsuke 7d936e9506 preparing to move the plugin
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35881 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-13 19:55:30 +00:00
kohsuke 0a9fdaf07c assist error diagnostics
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35880 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-13 19:55:17 +00:00
sogabe 5080122290 Added Japanese localization
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35848 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-12 12:53:28 +00:00
wjprakash 7f152b4891 Fix build failure. Forgot to advance the core version dependency
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35831 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-12 04:49:06 +00:00
wjprakash 63a8bc9255 Merging HUDSON-1467
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35828 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-12 03:43:40 +00:00
wjprakash de7f60f5f1 Init merging of branch HUDSON-1467
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35827 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-12 03:10:36 +00:00
sogabe 6e844cc1f4 Removed unsed import.
Replaced old wiki URL.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35752 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-11 15:44:54 +00:00
kohsuke 532dd1603c enabled XStream annotation support
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35709 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-09 18:29:21 +00:00
lshatzer 5f81f94f70 Expand colspan for plugin update table for when there is no content
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35654 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-08 16:47:50 +00:00
swiest fa6bb59867 [FIXED HUDSON-7717] Killing process tree does not work anymore on slave nodes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35651 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-08 12:54:30 +00:00
kohsuke 49d1b7830b fixed a compilation problem
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35614 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-07 20:00:01 +00:00
kohsuke 0c6138c6af Fixed a race condition. The dead lock was between the transientActions object vs MavenModuleSet.
Found one Java-level deadlock:
=============================
"Handling GET /hudson/job/special_Build/api/json : http-8080-4":
  waiting to lock monitor 0x00000000460dfa98 (object 0x00002aab02808368, a java.util.Vector),
  which is held by "pool-6-thread-250"

"pool-6-thread-250":
  waiting to lock monitor 0x0000000046aca2b0 (object 0x00002aaab7099118, a hudson.maven.MavenModuleSet),
  which is held by "Handling GET /hudson/job/special_Build/api/json : http-8080-4"






"Handling GET /hudson/job/special_Build/api/json : http-8080-4":
        at java.util.Vector.toArray(Vector.java:643)
->      - waiting to lock <0x00002aab02808368> (a java.util.Vector)
        at java.util.Vector.addAll(Vector.java:830)
        - locked <0x00002aab02812710> (a java.util.Vector)
        at hudson.model.AbstractProject.getActions(AbstractProject.java:899)
->      - locked <0x00002aaab7099118> (a hudson.maven.MavenModuleSet)
        at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.kohsuke.stapler.export.MethodProperty.getValue(MethodProperty.java:43)
        at org.kohsuke.stapler.export.Property.writeTo(Property.java:83)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:156)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:153)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:153)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:153)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:153)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:153)
        at org.kohsuke.stapler.export.Model.writeTo(Model.java:129)
        at org.kohsuke.stapler.ResponseImpl.serveExposedBean(ResponseImpl.java:176)
        at hudson.model.Api.doJson(Api.java:181)



"pool-6-thread-250":
        at hudson.model.AbstractProject.getActions(AbstractProject.java:898)
->      - waiting to lock <0x00002aaab7099118> (a hudson.maven.MavenModuleSet)
        at hudson.model.Actionable.getActions(Actionable.java:75)
        at hudson.plugins.jobConfigHistory.JobConfigHistoryActionFactory.createFor(JobConfigHistoryActionFactory.java:30)
        at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:549)
        at hudson.maven.AbstractMavenProject.updateTransientActions(AbstractMavenProject.java:48)
->      - locked <0x00002aab02808368> (a java.util.Vector)
        at hudson.maven.MavenModuleSet.updateTransientActions(MavenModuleSet.java:199)
        at hudson.maven.MavenModuleSetBuild.notifyModuleBuild(MavenModuleSetBuild.java:347)
        - locked <0x00002aab0103d910> (a hudson.maven.MavenModuleSetBuild)
        at hudson.maven.MavenBuild$ProxyImpl2.end(MavenBuild.java:437)
        at sun.reflect.GeneratedMethodAccessor368.invoke(Unknown Source)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35610 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-07 18:59:21 +00:00
kohsuke 7ae17dfa5d rather, according to http://d.hatena.ne.jp/miau/20101002/1286014365 , the new value is since 1.378, so I should probably use the older value effective before 1.378 for maximum compatibility.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35609 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-07 18:22:14 +00:00
kohsuke 465a6f99fc to remain compatible with the current version, I actually need to use the computed value, not the usual "1L"
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35608 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-07 18:20:26 +00:00
kohsuke b7c9af803f make sure the pipe writer always get terminated.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35607 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-07 18:08:53 +00:00
kohsuke a2355c2abb added an experimental feature that avoids CPU starvation of larger jobs.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35606 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-07 18:07:10 +00:00
kohsuke 60390d69d4 abstracting away JobOffer.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35605 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-07 17:59:59 +00:00
kohsuke a9b3b5c303 bug fix, and additional convenience methods.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35604 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-07 17:59:12 +00:00
kohsuke 70ba4fcadf missing serialVersionUID resulting in a problem reported in http://d.hatena.ne.jp/miau/20101002/1286014365
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35599 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-07 06:04:13 +00:00
kohsuke 23c58bb14e Initialized merge tracking via "svnmerge" with revisions "1-35595" from
https://www.dev.java.net/svn/hudson/branches/rc


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35597 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-07 02:35:09 +00:00
lshatzer 156cb7d641 List plugins on the systemInfo page.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35576 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-06 19:48:26 +00:00
dty e62787f750 [HUDSON-7518] Add an option to allow exclusion of HTTP client information from
the crumb calculation. This can be enabled for users who sit behind a proxy
that strips this information off, resulting in crumbs varying across requests.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35570 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-06 17:23:04 +00:00
kohsuke 31d97920c0 exposing more contextual information to MappingWorksheet
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35545 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-06 00:35:43 +00:00
kohsuke dced4d4cd4 [FIXED HUDSON-7546] fixed AbstractMethodError with plugins like batch-task.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35541 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-05 23:53:29 +00:00
kohsuke 09ffabb5dd [HUDSON-7572] debug logging code crept in. Meant to be FINER, not INFO.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35531 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-05 21:00:04 +00:00
kohsuke f1f34b8180 Merged revisions 35444-35445,35457-35458,35460-35461,35463,35465,35469 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r35444 | kohsuke | 2010-10-01 13:44:56 -0700 (Fri, 01 Oct 2010) | 1 line
  
  [FIXED HUDSON-7546] Fixed a possible AbstractMethodError in 1.379
........
  r35445 | kohsuke | 2010-10-01 14:04:58 -0700 (Fri, 01 Oct 2010) | 1 line
  
  [FIXED HUDSON-4229] Supported failsafe reports for the Maven2 job type.
........
  r35457 | kohsuke | 2010-10-02 10:04:35 -0700 (Sat, 02 Oct 2010) | 1 line
  
  added additional code to assist trouble-shooting.
........
  r35458 | kohsuke | 2010-10-02 10:09:44 -0700 (Sat, 02 Oct 2010) | 1 line
  
  performance optimization wrt the usage of buffer
........
  r35460 | kohsuke | 2010-10-02 10:19:25 -0700 (Sat, 02 Oct 2010) | 1 line
  
  [FIXED HUDSON-5977 HUDSON-7572] the incorrect use of WeakHashMap resulted in two instances of PipeWindows for the same OID.
........
  r35461 | kohsuke | 2010-10-02 10:30:21 -0700 (Sat, 02 Oct 2010) | 1 line
  
  debug code accidentally crept in.
........
  r35463 | kohsuke | 2010-10-02 11:21:55 -0700 (Sat, 02 Oct 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_379
........
  r35465 | kohsuke | 2010-10-02 11:22:14 -0700 (Sat, 02 Oct 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r35469 | kohsuke | 2010-10-02 12:26:53 -0700 (Sat, 02 Oct 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35530 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-05 20:52:34 +00:00
kohsuke 2e9dd797d4 using invisible <TR> to improve the UI a bit.
(11:09:06 AM) dty: kohsuke, ping
(11:09:14 AM) kohsuke: hi
(11:09:40 AM) dty: qq about http://fisheye.hudson-ci.org/changelog/Hudson/trunk/hudson/main/core/src/main/resources/lib/form/descriptorRadioList.jelly?cs=34003 that you made a while ago
(11:10:05 AM) dty: The extra f:entry adds an empty row underneath each radio button in descriptor lists
(11:10:14 AM) dty: Can we just have a bare input element without the f:entry?
(11:10:48 AM) kohsuke: dty: no, because that would put <INPUT> among <TR>s
(11:11:05 AM) kohsuke: some browsers push such <INPUT> outside of the table, breaking the hierarchy
(11:11:21 AM) dty: Bleah. The extra space looks unsightly.
(11:11:32 AM) kohsuke: I think we can display:none
(11:13:07 AM) dty: I'm not familiar with that. Is it part of Hudson's taglib, or something else?
(11:13:30 AM) dty: Ah, css
(11:14:33 AM) dty: Would you put that on the entry tag globally, or just on the input element you added?
(11:23:54 AM) kohsuke: dty: probably just on this <f:entry>
(11:24:18 AM) kohsuke: or maybe it could be a distinct tag of its own

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35529 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-05 20:50:39 +00:00
sogabe 46fe83b8cb Fixed typo.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35462 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-02 17:34:23 +00:00
kohsuke a71ad9c061 improving the keyboard navigability by not setting focus on the help icon.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35459 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-02 17:14:06 +00:00
kohsuke 4a33e0c320 fixed a regression in safeRestart since 1.376
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35422 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-01 01:23:53 +00:00
kohsuke c7bb6c0222 Initialized merge tracking via "svnmerge" with revisions "1-35417" from
https://www.dev.java.net/svn/hudson/branches/rc


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35419 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-01 01:09:03 +00:00
kohsuke 46969a2458 Hudson was creating multiple instances of PageDecorators, resulting in data consistency problem.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35399 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-30 02:01:27 +00:00
kohsuke 2cdb714eb0 fixed an assertion error
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35390 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-30 00:08:23 +00:00
abayer c8e932f2d8 [FIXED HUDSON-7611] Make sure the changelog paths we're comparing against are using Unix slashes, same as the module paths
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35382 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-29 21:25:32 +00:00
kohsuke a163996a9c Fixed a possible NPE in computing dependency changes.
java.lang.NullPointerException
	at hudson.model.AbstractBuild$DependencyChange.<init>(AbstractBuild.java:1036)
	at hudson.model.AbstractBuild.getDependencyChanges(AbstractBuild.java:1002)
	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:280)
	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:271)
	at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:538)
	at hudson.model.Run.run(Run.java:1303)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:293)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:137)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35368 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-29 16:42:01 +00:00
kohsuke 46fd462d62 added more convenient constructor for saving typing
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35364 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-29 00:26:16 +00:00
kohsuke 8b1e071d22 I find it odd that the response of an AJAX request is eval-ed automatically just because it has a specific content type.
Given the side effect of eval(), I feel this should be triggered by the presence of an additional header or something.

See http://dev.rubyonrails.org/ticket/5742 for a related discussion. The lack of '('+text+')' triggered this investigation.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35346 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-28 21:39:09 +00:00
kohsuke 106d95a79f Prototype.js calls eval() on the response when the content type is set to JavaScript, and eval() fails without the surrounding bracket.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35344 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-28 21:11:09 +00:00
kohsuke 447765a211 [FIXED HUDSON-7201] Fixed the malformed HTTP request error recovery behavior in Winstone.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35337 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-28 18:26:25 +00:00
kohsuke 977d9f2caf better to do svn up first
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35336 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-28 18:21:08 +00:00
kohsuke 66beab844a Merged revisions 35267,35269,35279 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r35267 | kohsuke | 2010-09-25 12:35:52 -0700 (Sat, 25 Sep 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_378
........
  r35269 | kohsuke | 2010-09-25 12:36:05 -0700 (Sat, 25 Sep 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r35279 | kohsuke | 2010-09-25 13:40:43 -0700 (Sat, 25 Sep 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35335 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-28 18:20:48 +00:00
swiest ce914e7dc0 Fixed incomplete JavaDoc comment.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35327 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-28 07:48:44 +00:00
swiest 55e2fcc464 Fixed incomplete JavaDoc comment.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35326 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-28 07:45:24 +00:00
sogabe 6e8c26f229 updated japanese localization again.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35285 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-25 22:50:58 +00:00
mindless 4ec67500f2 fix minor html errors
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35273 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-25 20:08:21 +00:00
mindless 1c6498f95b [FIXED HUDSON-7475] maintain ancestors if possible when forwarding to error page,
so nav links at top work properly


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35270 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-25 19:40:36 +00:00
mindless 7c35506bf9 netbeans complained about lack of <head> tags
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35266 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-25 16:00:55 +00:00