Commit Graph

7079 Commits

Author SHA1 Message Date
kohsuke 3b93eefdf0 [FIXED HUDSON-3972] Incorporated the change in 1.316.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19568 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 19:01:34 +00:00
kohsuke be1f49df83 [HUDSON-3270] forgot to commit.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19567 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 18:43:29 +00:00
kohsuke b875b5d591 [FIXED HUDSON-3272] integrated in 1.316.
The <tt>--logfile</tt> option stopped working on Windows.
    (<a href="https://hudson.dev.java.net/issues/show_bug.cgi?id=3272">issue 3272</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19566 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 18:43:02 +00:00
kohsuke dd4fac9c24 [FIXED HUDSON-1235] Addd in 1.316.
While this is not a general fix, it should improve the pain.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19561 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 18:20:02 +00:00
kohsuke 285bf38bd8 removed the usage of deprecated methods
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19558 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 16:34:59 +00:00
kohsuke 9e7e52e0c7 Fixed a possible NPE in installing Windows service.
(<a href="http://d.hatena.ne.jp/ushiday/20090708">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19556 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 01:28:01 +00:00
kohsuke 58e1367ba1 Fixed a possible NPE in <tt>CrumbFilter.getCrumbIssuer</tt>.
(<a href="http://www.nabble.com/problem-on-tomcat-td24353243.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19555 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 01:03:45 +00:00
kohsuke 7b7574210e allowed this to be configured via a system property. Interim solution until we really fix the e-mail notification.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19554 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 00:55:53 +00:00
kohsuke d1bea5bbc6 creating a new RC branch
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@19552 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 00:37:36 +00:00
kohsuke c002941d4e added the threadDump page for slaves to keep the URL consistent with hudson.model.Hudson/threadDump.jelly
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19550 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 00:37:14 +00:00
kohsuke 40e80a5ed9 Subversion 1.3 released
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19549 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 00:08:35 +00:00
kohsuke 91bece9410 added additional debug probe
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19545 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-08 23:55:24 +00:00
kohsuke df1e55186b Rolling back r19373-19376 as discussed in http://www.nabble.com/attention-all-subversion-users-td24335693.html to proceed with the 1.315 release
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19544 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-08 23:42:31 +00:00
kohsuke 439a6b94f0 while working on a hang problem in JavaFX deployment of Hudson, I noticed that slave is eagerly loading a lot of classes that it shouldn't load, which appears to be caused by the fact that SLAVE_LOG_HANDLER is in SlaveComputer class, which triggers classloading of such classes like hudson.model.Hudson.
I'm hoping that this fixes the hang issue, but at least this makes the start up a bit faster.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19542 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-08 23:20:54 +00:00
kohsuke 24e146f07d added a little analyzer to inspect the traffic
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19541 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-08 23:11:20 +00:00
kohsuke 68b47535d1 CLI slave agents show details of how it failed to connect.
(<a href="http://www.nabble.com/Can%27t-start-a-slave-via-JNLP-td24363116.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19540 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-08 20:51:21 +00:00
kohsuke 666147f530 Fixed winp.dll load problem on WebSphere
(<a href="http://www.nabble.com/winp.dll-problem-still-exists-td24390682.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19539 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-08 20:29:16 +00:00
dty aae1682158 Added ability to exclude commits by author and revision property when polling
for changes to trigger a build. These are specific to Subversion.

Moved Subversion related resource strings out of core into the Subversion
plugin.

Fixed copyright headers.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19538 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-08 20:11:20 +00:00
kohsuke 7e0368201d TAB -> WS
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19536 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-08 19:08:17 +00:00
dty 717cd28e9a Look for checkUrl value in the attributes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19535 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-08 18:25:02 +00:00
sorokh 57b75b4d15 Dutch translation updates
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19528 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-08 11:24:45 +00:00
sorokh 78646fff9e Dutch translation updates
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19526 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-08 10:30:50 +00:00
kohsuke 8afd5c51aa added a script to generate a javadoc lookup URL space in http://hudson-ci.org/javadoc/byShortName
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19480 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-07 21:09:51 +00:00
kohsuke 3ce1bde5a4 added a script to generate a javadoc lookup URL space in http://hudson-ci.org/javadoc/byShortName
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19478 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-07 21:08:28 +00:00
jglick b7c25bdf45 [FIXED HUDSON-3989] Installation of JDK 1.4.x did not work due to to "j2sdk" dir name.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19476 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-07 19:44:20 +00:00
kohsuke 3fda643f58 C&P error
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19474 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-07 18:37:07 +00:00
kohsuke 4ac8e27562 fixed NPE later down the road
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19473 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-07 18:36:09 +00:00
kohsuke a31176489c Using AntClassLoader with Closeable so that we can predictably release jar files opened by URLClassLoader
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19472 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-07 18:35:32 +00:00
jglick 2dd667265b File.toURL() is deprecated.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19471 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-07 18:31:24 +00:00
kohsuke 3ec951ec1a Expose MAVEN_OPTS as env. var, in addition to set it to Maven JVM.
(<a href="https://hudson.dev.java.net/issues/show_bug.cgi?id=3644">issue 3644</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19452 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-07 17:08:13 +00:00
kohsuke f6e9363491 a small code simplification
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19451 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-07 16:56:09 +00:00
kohsuke 1bdbdbb398 added the simplest kill method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19440 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-06 22:16:56 +00:00
kohsuke d1a4bb7bf7 [FIXED HUDSON-3981] Increased the timeout to 3secs as suggested. Added caching so that successive look-ups go faster. This fix will be in 1.315.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19436 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-06 21:46:01 +00:00
kohsuke a86fe5e9c7 reformatted import statements
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19435 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-06 21:32:11 +00:00
kohsuke af1d6538f4 generalized ProcessTreeKiller to expose more system information, so that the plugins and core can do more interesting things.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19434 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-06 21:31:29 +00:00
mindless 8aa65078c9 [HUDSON-3590] load user when create flag is false if user has a config file
(this should not be considered "creating" the user), so login works even if
User.getAll has not yet been called.  fixes regression from r19411


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19412 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-05 23:58:44 +00:00
mindless c9db91664d [FIXED HUDSON-3590] don't create new in-memory user when someone attempts
login with invalid username


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19411 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-05 20:17:39 +00:00
mindless aedca55e74 [FIXED HUDSON-3505] fix getUpUrl when parent is MatrixConfiguration.
(this makes a valid link for "Back to Project" in this case, though sidepanel
navigation between MatrixProject/Configuration/Build/Run could still be improved)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19409 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-05 19:28:14 +00:00
sogabe 97e2b85baf Added Japanese localization(clean workspace)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19407 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-05 15:36:17 +00:00
kohsuke 8487501176 Hudson failed to notice a build result status change if aborted builds
were in the middle.
    (<a href="http://www.nabble.com/Losing-build-state-after-aborts--td24335949.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19401 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-04 18:53:31 +00:00
kohsuke fece64b73a exposed convenience methods to create port forwarder
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19397 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-04 15:04:22 +00:00
kohsuke 7d5489e59d Merged revisions 19354,19356,19379,19381,19385 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

................
  r19354 | kohsuke | 2009-07-01 21:17:46 -0700 (Wed, 01 Jul 2009) | 87 lines
  
  Merged revisions 19167-19168,19178,19183-19187,19190,19193-19194,19207,19209,19223,19236,19248,19254,19257,19338 via svnmerge from 
  https://www.dev.java.net/svn/hudson/branches/rc
  
  ........
    r19167 | kohsuke | 2009-06-23 16:08:06 -0700 (Tue, 23 Jun 2009) | 1 line
    
    merged back the changes in the RC branch
  ........
    r19168 | kohsuke | 2009-06-23 16:12:46 -0700 (Tue, 23 Jun 2009) | 1 line
    
    fixed the bug
  ........
    r19178 | swiest | 2009-06-24 02:43:21 -0700 (Wed, 24 Jun 2009) | 1 line
    
    Updated German localization of core module.
  ........
    r19183 | kohsuke | 2009-06-24 08:57:07 -0700 (Wed, 24 Jun 2009) | 1 line
    
    forgot to update this
  ........
    r19184 | kohsuke | 2009-06-24 09:06:59 -0700 (Wed, 24 Jun 2009) | 1 line
    
    fixed and improved the retry logic
  ........
    r19185 | kohsuke | 2009-06-24 09:07:49 -0700 (Wed, 24 Jun 2009) | 1 line
    
    I think this is better
  ........
    r19186 | kohsuke | 2009-06-24 09:08:02 -0700 (Wed, 24 Jun 2009) | 1 line
    
    fixed import statements
  ........
    r19187 | kohsuke | 2009-06-24 09:57:52 -0700 (Wed, 24 Jun 2009) | 3 lines
    
    WebDAV deployment from Maven was failing with VerifyError.
    
    A test case requires a webdav server, I tried Milton but couldn't make it work without the source code.
  ........
    r19190 | swiest | 2009-06-24 12:07:50 -0700 (Wed, 24 Jun 2009) | 1 line
    
    Deprecated Util.combine(long,String) method and rewrote its callers to use localizable resources.
  ........
    r19193 | sogabe | 2009-06-24 14:53:02 -0700 (Wed, 24 Jun 2009) | 2 lines
    
    Updated Japanese localization.
  ........
    r19194 | kohsuke | 2009-06-24 15:20:15 -0700 (Wed, 24 Jun 2009) | 1 line
    
    added default value support
  ........
    r19207 | kohsuke | 2009-06-24 19:50:48 -0700 (Wed, 24 Jun 2009) | 1 line
    
    recording HUDSON-2909 for 1.313
  ........
    r19209 | kohsuke | 2009-06-24 19:52:21 -0700 (Wed, 24 Jun 2009) | 1 line
    
    creating a new RC branch
  ........
    r19223 | kohsuke | 2009-06-25 10:43:06 -0700 (Thu, 25 Jun 2009) | 7 lines
    
    Replaced the icon with the one that came from the same icon set, plus hyperlinking the icon
    to Hudson Wiki so that we can be more informative.
    
    Tooltip on the icon doesn't work very well because the TD itself sets a tooltip, and
    we end up seeing the overlapped 2 tooltips (at least on my Firefox 3.0 on Ubuntu)
  ........
    r19236 | kohsuke | 2009-06-25 18:06:50 -0700 (Thu, 25 Jun 2009) | 1 line
    
    applied a patch from Jeremy (or id:endolf). See http://www.nabble.com/Build-publisher-patch-svn-access-td24164282.html
  ........
    r19248 | kohsuke | 2009-06-26 14:42:40 -0700 (Fri, 26 Jun 2009) | 1 line
    
    [maven-release-plugin] prepare release hudson-1_313
  ........
    r19254 | kohsuke | 2009-06-26 17:28:12 -0700 (Fri, 26 Jun 2009) | 1 line
    
    [maven-release-plugin] prepare for next development iteration
  ........
    r19257 | kohsuke | 2009-06-26 18:20:24 -0700 (Fri, 26 Jun 2009) | 1 line
    
    updated changelog as a part of the release
  ........
    r19338 | kohsuke | 2009-06-30 18:48:25 -0700 (Tue, 30 Jun 2009) | 1 line
    
    added maven-versions-plugin to pick up ones that got out of sync
  ........
................
  r19356 | kohsuke | 2009-07-01 21:19:27 -0700 (Wed, 01 Jul 2009) | 1 line
  
  creating a new RC branch
................
  r19379 | kohsuke | 2009-07-02 17:31:26 -0700 (Thu, 02 Jul 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_314
................
  r19381 | kohsuke | 2009-07-02 17:31:38 -0700 (Thu, 02 Jul 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
................
  r19385 | kohsuke | 2009-07-02 18:11:16 -0700 (Thu, 02 Jul 2009) | 1 line
  
  updated changelog as a part of the release
................


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19394 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-04 02:09:15 +00:00
kohsuke 1c3a47bc1b added port forwarding support
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19393 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-04 02:05:43 +00:00
kohsuke d6677bcb1c added an option to close OutputStream at the end
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19392 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-04 01:49:18 +00:00
kohsuke 007517c54b bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19391 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-04 01:32:57 +00:00
mindless 12689f0c30 [FIXED HUDSON-3674] Don't allow rename of view to same name as another view
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19389 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-03 22:04:18 +00:00
kohsuke bb9125cc94 updated changelog as a part of the release
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@19385 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-03 01:11:16 +00:00
kohsuke 377f569c3d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@19381 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-03 00:31:38 +00:00
kohsuke 28375da05c [maven-release-plugin] prepare release hudson-1_314
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@19379 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-03 00:31:26 +00:00
kohsuke ca0b6e830d I discovered that when Apache sits in front of Hudson as a reverse proxy, it blocks the traffic in such a way that breaks tunneling of the remoting.
The issue is that the CLI initiates the upload side of the connection and sends some small chunk, yet Apache never forwads that to Hudson, presumably because it's trying to buffer more contents from CLI, which never arrives.

A similar problem seems to exist for the download side, although various reports (like http://mail-archives.apache.org/mod_mbox/httpd-users/200509.mbox/%3C20050927152742.GA8726@redhat.com%3E) suggests that this is fixed in a relatively recent version of Apache.

Other pages, like http://httpd.apache.org/docs/2.2/mod/mod_proxy.html , seems to suggest that Apache can be configured not to do this buffering, but my attempt to configure them failed, both on Ubuntu and OpenSolaris. It could be my mistake, but the lesson for me is that even if Apache can be configured not to interfere, it's still rather error prone.

On top of that, it's not hard to imagine that other forward/reverse proxy have similar problems --- IIRC, Dean Yu reported a similar problem.

So I decided to let CLI talk to Hudson via a conventional TCP/IP connection, if possible. An extra bonus is that this is more resource efficient on the server side (which was tying 2 request handling for pushing and pulling before this change.)

The downside of this change is that if the client is behind the proxy, or if the server is behind a reverse proxy, this needs an extra set up. I thought this is a lesser evil, as Hudson tends to run inside a corporate network, and this issue is already better understood since JNLP slaves have the same issue.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19378 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-03 00:12:46 +00:00