Commit Graph
17505 Commits
Author SHA1 Message Date
kohsuke 6f84a31687 added the glorified <select> control that supports databinding.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28540 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-12 23:12:24 +00:00
kohsuke 071518aee3 added more convenience methods.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28536 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-12 19:53:37 +00:00
kohsuke 089f66504e added utility class for reflection
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28535 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-12 19:52:59 +00:00
sogabe 76560f9d5d Fixed NPE when configuring view without regular expresion.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28533 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-12 17:49:23 +00:00
mindless 6bfb732d1e [FIXED HUDSON-5894] avoid NPE if entry.getMsg() returns null
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28517 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-11 18:59:25 +00:00
kohsuke 5742c0a493 typo
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28516 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-11 18:09:23 +00:00
kohsuke fa86f299c4 modernized by using HttpResponse.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28515 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-11 18:09:00 +00:00
kohsuke 9bd333482d URLs in the console output are now hyperlinks.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28514 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-11 17:44:31 +00:00
mindless 28cb11e0eb [FIXED HUDSON-5833] replace > with _ in username, as already done for <
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28511 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-11 02:12:05 +00:00
kohsuke bfb51af7e1 Added 'login' and 'logout' commands so that you don't have to specify a credential for individual CLI invocation.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28509 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-11 01:11:11 +00:00
kohsuke 3f5917d675 added one more mechanism to annotate a test.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28508 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-11 00:47:52 +00:00
kohsuke def99d53d1 Merged revisions 28499 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r28499 | kohsuke | 2010-03-10 11:57:23 -0800 (Wed, 10 Mar 2010) | 1 line
  
  Do the same protection to _calcRevisionsFromBuild to avoid HUDSON-5756
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28507 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-11 00:21:49 +00:00
mindless 007ce08a1c oops, typo in last commit
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28506 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 23:51:19 +00:00
mindless c79a4b0cea fix symlink test with long filename (got ENAMETOOLONG on Solaris 10)..
if "ln failed: 78" is logged, try again with shorter name.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28505 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 23:34:47 +00:00
kohsuke 61cd300725 CLI commands on protected Hudson now asks a password interactively, if run on Java6.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28504 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 23:10:36 +00:00
kohsuke f5c5570b6e integrated authentication to the @CLIMethod based CLI commands.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28503 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 23:01:47 +00:00
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