Commit Graph
8213 Commits
Author SHA1 Message Date
kohsuke 084591eecc got rid of the notion that the transport can implicitly authenticate the session.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28502 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 22:59:23 +00:00
kohsuke 1952937655 HudsonPrivateSecurityRealm now extends AbstractPasswordBasedSecurityRealm, as it should be.
Historically, AbstractPasswordBasedSecurityRealm came later so this wasn't done until now. This reduces the code bloat.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28501 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 22:44:07 +00:00
kohsuke 957754803b [FIXED HUDSON-5899] in 1.351.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28500 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 20:33:08 +00:00
mcrooney 29f54e2686 add HUDSON_ARGS to the sysconfig file (and use it in the init file) so RPM users can specify arbitrary arguments
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28498 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 19:38:03 +00:00
kohsuke 8e1ff867ff Initialized merge tracking via "svnmerge" with revisions "1-28495" from
https://www.dev.java.net/svn/hudson/branches/rc


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28497 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 17:50:01 +00:00
kohsuke e57c07c9b5 Fixed a dead lock by using copy-on-write. Dead lock threads as follows:
"Handling GET /job/jck7-projectcoin/ws/ : btpool0-4552" prio=3 tid=0x0a6d9400 nid=0x197c1 waiting for monitor entry 
[0x2e90f000..0x2e911b60]
   java.lang.Thread.State: BLOCKED (on object monitor)
        at java.util.Vector.toArray(Vector.java:643)
        - waiting to lock <0x3d840e08> (a java.util.Vector)
        at java.util.Vector.addAll(Vector.java:830)
        - locked <0x833173e8> (a java.util.Vector)
        at hudson.model.AbstractProject.getActions(AbstractProject.java:863)
        - locked <0x3d7e2d00> (a hudson.model.FreeStyleProject)
        at sun.reflect.GeneratedMethodAccessor253.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)
        at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314)
        at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185)

----------------------

"Handling POST /job/jck7-projectcoin/configSubmit : btpool0-4531" prio=3 tid=0x09da7800 nid=0x195b4 waiting for moni
tor entry [0x2ea58000..0x2ea59960]
   java.lang.Thread.State: BLOCKED (on object monitor)
        at hudson.model.AbstractProject.getTriggers(AbstractProject.java:1239)
        - waiting to lock <0x3d7e2d00> (a hudson.model.FreeStyleProject)
        at hudson.model.Project.updateTransientActions(Project.java:212)
        - locked <0x3d840e08> (a java.util.Vector)
        at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:549)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:169)
        at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101)
        at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54)
        at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:74)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28492 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 17:48:13 +00:00
kohsuke d737193cca Make FastInput/OutputStream pair capable of detecting when the other end has abandoned their side, which prevents infinite pipe clogging.
This is discovered on one of the Hudson instances that showed the following stack trace:

java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:474)
hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:136)
hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:115)
hudson.remoting.ProxyOutputStream$Chunk.execute(ProxyOutputStream.java:164)
hudson.remoting.Channel$ReaderThread.run(Channel.java:863)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28491 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 17:32:25 +00:00
jglick cf3ea3cf5c Fixing raw type / unchecked warnings.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28489 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 14:44:33 +00:00
kohsuke 02eb4346bc fixed a test failure in EnableJobCommandTest
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28480 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 02:32:17 +00:00
kohsuke 1eb72ace8d On RPM/DEB/etc installation, don't offer the self upgrade. It should be done by the native package manager.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28479 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 02:30:10 +00:00
kohsuke 5b437679a1 I think this is causing the EnableJobCommandTest to fail. Not sure why it started failing, though.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28476 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 02:12:17 +00:00
abayer 4795671b5e [FIXED HUDSON-4811] Maven plugin now has a URL that actually goes somewhere real
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28475 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 01:46:09 +00:00
kohsuke 09dbd2745b Resurrecting the original fix for HUDSON-5756, as I'm still worried that bugparade 6933067 is related to some sort of the HotSpot optimization.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28474 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 01:43:22 +00:00
kohsuke 201dbd597e [FIXED HUDSON-5780] in 1.350
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28473 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 00:51:03 +00:00
mindless ba37235620 fix 404 from link in top nav
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28472 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 00:22:06 +00:00
abayer 384fb1cba0 [HUDSON-5827, HUDSON-5756] Whoops - missed something I had intended.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28471 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 00:16:56 +00:00
abayer 74e9637ed7 [HUDSON-5827, HUDSON-5756] This approach fixes both bugs in one fell swoop
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28470 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-09 22:57:02 +00:00
abayer 4ecf4770d2 [FIXED HUDSON-5827] Fixed ClassCastException - live in svn plugin 1.13 which will be bundled with 1.350
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28445 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-09 04:24:34 +00:00
mindless bc62545c33 just use LOGGER instead of local logger var
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28442 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-09 02:12:50 +00:00
kohsuke 765231cc57 added a test to make sure console annotation works as expected in the polling log.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28437 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-09 01:18:56 +00:00
kohsuke 3b480cfb65 Added consle annotation support to SCM polling logs.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28435 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-09 00:59:18 +00:00
kohsuke 00f694c595 forgot a pre tag
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28433 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-09 00:54:56 +00:00
kohsuke 7194708e5b using AnnotatedLargeText in more places
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28432 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-09 00:45:24 +00:00
kohsuke a7ac6a460c debug statement crept in
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28426 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-09 00:00:16 +00:00
kohsuke dacc627ba9 fixed StringIndexOutOfBoundsException
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28425 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-08 23:58:18 +00:00
kohsuke f77281af24 [FIXED HUDSON-5756] in 1.350 by introducing a pointless function to work around what appears to be a HotSpot problem.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28424 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-08 23:46:14 +00:00
kohsuke f7199479dd fixed regressions caused by my previous change to the toString() method.
We need two versions of escape, depending on whether the text is being injected into <PRE> or other normal HTML tags.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28422 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-08 21:55:40 +00:00
kohsuke 211f6b5605 [FIXED HUDSON-5852] '&lt;' and '&amp;' in the console output was not escaped since 1.349
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28418 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-08 20:51:34 +00:00
mindless e1d265bbdb i18n and grammar fix for one polling msg
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28404 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-08 19:38:01 +00:00
kohsuke 2488995d83 Merged revisions 28303,28305-28306,28308,28315 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r28303 | kohsuke | 2010-03-05 18:05:22 -0800 (Fri, 05 Mar 2010) | 1 line
  
  version number isn't always parseable
........
  r28305 | kohsuke | 2010-03-05 18:55:21 -0800 (Fri, 05 Mar 2010) | 1 line
  
  fixed a test failure
........
  r28306 | kohsuke | 2010-03-05 19:21:37 -0800 (Fri, 05 Mar 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_349
........
  r28308 | kohsuke | 2010-03-05 19:21:58 -0800 (Fri, 05 Mar 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r28315 | kohsuke | 2010-03-05 20:04:32 -0800 (Fri, 05 Mar 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28403 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-08 19:33:00 +00:00
mfriedenhagen d3bf209f00 Fixed HUDSON-2531 by storing sites for multimodule projects.
Simple projects with one POM will find the site directly beneath {@code site}.
For multi module projects the project whose pom is referenced in the configuration (i.e. the {@link MavenBuild#getParentBuild()} will be recorded to
the {@code site} directory, module projects' sites will be stored beneath {@code site/${moduleProject.artifactId}}.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28369 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-07 17:06:30 +00:00
manuel_carrasco bddd6230ad Spanish translation keys
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28367 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-07 16:41:21 +00:00
manuel_carrasco adcf9e4523 update Spanish translations
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28349 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-07 05:47:14 +00:00
manuel_carrasco 5dbc86d111 update Spanish translations
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28348 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-07 05:46:50 +00:00
mindless 5cb76574f4 Refactor ComboBox to use CSS class instead of ID to identify the form element,
and initialize via hudson-behavior rules.  Now f:editableComboBox works in
repeatable content such as a build step (or any f:hetero-list or f:repeatable).
createComboBox still accepts an ID parameter for compatibility, but this form
is now deprecated.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28338 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-06 21:52:00 +00:00
mindless 04ef6745b9 Update to latest stapler, which has:
r1431 | kohsuke:
Fixed the implementation of the <st:once> so that it uses location information for uniqueness check.
The previous implementation depended on the identity of Script, which doesn't work in the development mode where script is constantly reloaded.
r1432 | mindless:
Implement new XMLOutputFactory added to jelly, so TagScript.getBodyText()
will use HTMLWriter when appropriate instead of always using standard XMLOuput.
This avoids <j:set var="..">..content..</j:set> using a short tag for <textarea/>,
for example.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28317 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-06 04:13:16 +00:00
mindless 3d3274e4be I hit UnsatisfiedLinkError loading jna on mac because my tmp dir happened
to have + chars and they got incorrectly translated to spaces.
Bumping up to jna 3.2.4 which has fixed this problem.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28311 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-06 03:42:40 +00:00
mindless 8fa28bf76b Make prepareDD and hasClassName more robust to handle case
where a TextNode (like whitespace) is the firstChild of a node.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28301 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-06 00:09:20 +00:00
kohsuke 1d0c8d5ea8 [FIXED HUDSON-3796] implemented an extensible authentication scheme for CLI clients.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28296 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-05 23:13:27 +00:00
abayer 9ff393a368 [FIXED HUDSON-834] Added advanced option to delete artifacts without deleting the rest of the build
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28293 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-05 20:46:11 +00:00
abayer 239b8b0bfd [FIXED HUDSON-4939] Reworked createEmbedder to allow for determining MavenModuleSet configuration from a build object
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28280 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-04 23:16:51 +00:00
abayer 86b2bcb094 [FIXED HUDSON-4693] Fixed handling of relative paths in alternate settings.xml in Maven 2 projects
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28278 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-04 22:36:11 +00:00
kohsuke 6bd56e9a9c notification emails shouldn't contain embedded console notes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28274 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-04 21:31:22 +00:00
kohsuke ea92d3aa13 Integrated a newer version of htmlunit that performs XHR calls at the correct timing.
This fixes the false positive test failure that I was struggling with since yesterday.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28266 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-04 19:30:06 +00:00
kohsuke 9adb62aede typo
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28265 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-04 19:19:38 +00:00
abayer 1f00f6cea0 Changed FileSystemProvisioner.snapshot to take a glob argument
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28263 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-04 18:30:32 +00:00
kohsuke 37886e407e not having any test makes Maven report an error
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28262 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-04 17:40:43 +00:00
mindless ad80923f7d Update uses of deprecated APIs:
View.LIST -> View.all(), UserProperties.LIST -> UserProperty.all()
Also removed comment about needing a new permission in User/configure,
as the User ACL grants admin permission on a user's own User object.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28261 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-04 16:58:33 +00:00
mindless f58992c4c3 Update use of deprecated API: Items.LIST -> Items.all()
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28260 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-04 16:41:57 +00:00
kohsuke 04b12b5ba6 during the unit test, exceptions in prototype.js Ajax.Request callback handlers are treated as fatal problems.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28238 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-04 03:09:02 +00:00