Commit Graph
917 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi fa3e36206a the trunk is toward 1.400-SNAPSHOT 2011-02-21 03:42:13 -08:00
Brian Atkinson 4c10efe1a9 Merge branch 'JENKINS-8592' 2011-02-16 23:17:59 -06:00
Brian Atkinson be5438b3b3 Log out exceptions that happen in copy threads.
This could be useful in trying to track down when things break in special
ways.
2011-02-16 19:48:45 -06:00
Brian Atkinson 1917efdc33 Clean up unused imports 2011-02-16 19:48:44 -06:00
Kohsuke Kawaguchi 96dd84b5d0 [FIXED JENKINS-7809] expose child process stdout as InputStream.
I added a mode where one can launch a child process without the built-in pumping support, making it trivial to read until EOF in the distributed environments.

 This concludes the fix.
2011-02-16 08:28:00 -08:00
Kohsuke Kawaguchi 3a3690b281 [FIXED JENKINS-7809] fixed a race condition in obtaining the tail of the output from remote process. 2011-02-14 17:13:24 -08:00
Kohsuke Kawaguchi 7b40e2e091 being more defensive, in seeing JENKINS-7809 and the following stack trace:
java.lang.NegativeArraySizeException
	at hudson.remoting.ProxyOutputStream$Chunk.<init>(ProxyOutputStream.java:175)
	at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:123)
	at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103)
2011-02-14 10:18:22 -08:00
Kohsuke Kawaguchi 49ca46581a the trunk is toward 1.399 2011-02-12 10:32:32 -08:00
Kohsuke Kawaguchi 8e6929f108 Hudson to Jenkins 2011-02-08 01:37:46 -08:00
Kohsuke Kawaguchi cdf99908e0 the trunk is toward 1.398-SNAPSHOT 2011-02-07 23:27:49 -08:00
Jerome Lacoste 7e3bc36b39 Revert "merge changelog.html fixes from kk"
Note that the above description is incorrect as to what the merge was about.
It is the message that I intended to make. It appears that I accidentaly merged multiple fixes waiting to be reviewed on my private fork.

This reverts commit dce0d2aff0, reversing
changes made to 63f67f30bd.
2011-02-07 14:50:17 +01:00
Brian Atkinson 1d1c18890f Fix a conditional bug: if the remote end supports pipe throttling, make
sure to use the right type of pipe window.
2011-02-05 13:30:10 -06:00
Jerome Lacoste 58166dfb2b Merge remote branch 'upstream/master'
Reapplied 329a020188

Conflicts:
	core/src/main/java/hudson/widgets/HistoryWidget.java
2011-02-05 07:38:58 +01:00
Kohsuke Kawaguchi 758aedf885 Merge commit 'c628bdd32be8fdf0f663b373836585498e1ecaa1'
* commit 'c628bdd32be8fdf0f663b373836585498e1ecaa1':
  First pass at a fix for JENKINS-8592.
2011-02-04 20:07:39 -08:00
Kohsuke Kawaguchi 73a8007d43 [JENKINS-8592] let the writer end know if the reader end of the pipe
failed.
2011-02-04 20:06:53 -08:00
Brian Atkinson c628bdd32b First pass at a fix for JENKINS-8592.
The problem is that the sending side has no way of knowing when the
receiving side has hung up. So when the receiving side hangs up we should
be able to read till the stream runs out, then close. Not the optimal
solution, but one that should work for now.

http://issues.jenkins-ci.org/browse/JENKINS-8592
2011-02-04 18:46:04 -06:00
Jerome Lacoste 020a4ee92a JENKINS-8686 IO stream copies are not done properly.
Some more work:
* reviewed some callers
* took note that some classes have been moved into stapler
* used IOUtil.closeQuietly() in a few places
2011-02-04 15:34:26 +01:00
Jerome Lacoste bfbaf2c9d9 JENKINS-8686 IO stream copies are not done properly.
First pass at making sure we don't stop copying when the reader reads 0 characters.

I will now also review the callers for our internal code, and check if we can use IOUtils methods instead.
2011-02-04 15:34:07 +01:00
Jerome Lacoste a41c87192d JENKINS-7836 tentative fix for the copy from slave to master issues. The problem looks similar to JENKINS-7745, so we might as well synchronized the ProxyInputStream. 2011-02-03 23:04:36 +01:00
Jerome Lacoste 31b8361d31 JENKINS-7836 tentative fix for the copy from slave to master issues. The problem looks similar to JENKINS-7745, so we might as well synchronized the ProxyInputStream. 2011-02-03 14:07:18 +01:00
Kohsuke Kawaguchi 5c91eb1fe5 ProxyOutputStream was not thread safe even though it often gets used by multiple threads, for example when you launch a remote process with the same stdout/stderr. 2011-02-02 09:41:40 -08:00
Kohsuke Kawaguchi b80121a17a the trunk is toward 1.397 2011-01-31 19:17:54 -08:00
Kohsuke Kawaguchi 3a1447ea9a Updating the URL. 2011-01-30 23:44:52 -08:00
Kohsuke Kawaguchi 5bd0b98986 Updated groupId to org.jenkins-ci 2011-01-30 13:18:06 -08:00
Kohsuke Kawaguchi 68ed742227 [FIXED HUDSON-5055] allow the same JNLP slave to reconnect without getting rejected. 2011-01-24 13:40:59 -08:00
Kohsuke Kawaguchi 8c9b04bc3a the trunk is toward 1.396-SNAPSHOT 2011-01-19 20:51:30 -08:00
Kohsuke Kawaguchi f92550e70c the trunk is toward 1.395-SNAPSHOT 2011-01-12 18:53:31 -08:00
Kohsuke Kawaguchi 0a3f6c08b4 the trunk is toward 1.394-SNAPSHOT 2011-01-05 22:22:32 -08:00
Kohsuke Kawaguchi 55190056f3 the trunk is toward 1.393-SNAPSHOT 2010-12-30 00:08:48 -08:00
Seiji Sogabe df9db0af0e Removed unused import. 2010-12-29 21:33:59 +09:00
Seiji Sogabe c85e60f14e Sorry my mistake. 2010-12-24 22:19:10 +09:00
Kohsuke Kawaguchi 226b35c26c the trunk is toward 1.392-SNAPSHOT 2010-12-23 10:25:03 -08:00
Kohsuke Kawaguchi 3cb0434d2e the trunk is toward 1.391-SNAPSHOT 2010-12-15 20:51:46 -08:00
Kohsuke Kawaguchi 10e9f8f0ad the trunk is toward 1.390-SNAPSHOT 2010-12-10 09:22:30 -08:00
Kohsuke Kawaguchi fac80b9a4f [maven-release-plugin] prepare for next development iteration 2010-12-04 19:21:09 -08:00
Kohsuke Kawaguchi f06890e127 [maven-release-plugin] prepare release hudson-1_388 2010-12-04 19:20:59 -08:00
Kohsuke Kawaguchi 7984e31026 [FIXED HUDSON-8060] Slaves launched by JNLP fail to reprot their version numbers. 2010-12-02 11:20:46 -05:00
Kohsuke Kawaguchi 4c93e9452b Merge branch 'rc' into main
* rc:
  Revert "1.387 special"
  updated changelog as a part of the release
  updated changelog for release
  [maven-release-plugin] prepare for next development iteration
  [maven-release-plugin] prepare release hudson-1_387
  preparing for a release
  updated with changes
  updated changelog
  imported from svn
  1.387 special
2010-11-27 09:02:43 -08:00
Kohsuke Kawaguchi 9f419cecee [maven-release-plugin] prepare for next development iteration 2010-11-26 17:19:16 -08:00
Kohsuke Kawaguchi 3979d159e7 [maven-release-plugin] prepare release hudson-1_387 2010-11-26 17:19:05 -08:00
Kohsuke Kawaguchi 768abac9b1 merged 'ready-to-merge' from huybrechts 2010-11-25 08:51:56 -08:00
Kohsuke Kawaguchi d9b984dadd updated to 1.387-SNAPSHOT 2010-11-22 18:16:38 -08:00
kohsuke 9ce2828105 added a test in an attempt to reproduce / pin-point HUDSON-7809 but this was not it.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@37070 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-20 02:32:24 +00:00
kohsuke 4333373490 Merged revisions 36683,36685,36691,36942,36944,36952 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r36683 | kohsuke | 2010-11-05 16:33:52 -0700 (Fri, 05 Nov 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_384
........
  r36685 | kohsuke | 2010-11-05 16:34:05 -0700 (Fri, 05 Nov 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r36691 | kohsuke | 2010-11-05 19:28:12 -0700 (Fri, 05 Nov 2010) | 1 line
  
  updated changelog as a part of the release
........
  r36942 | kohsuke | 2010-11-15 11:09:29 -0800 (Mon, 15 Nov 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_385
........
  r36944 | kohsuke | 2010-11-15 11:09:57 -0800 (Mon, 15 Nov 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r36952 | kohsuke | 2010-11-15 12:42:33 -0800 (Mon, 15 Nov 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36965 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-15 23:37:36 +00:00
kohsuke f8caddbebf improved the diagnostics
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36964 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-15 23:36:18 +00:00
sogabe 0404b5cfd7 Fixed unused import.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36816 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-10 14:33:10 +00:00
kohsuke 7932a7ed45 Merged revisions 36437,36439,36443 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r36437 | kohsuke | 2010-10-29 17:39:53 -0700 (Fri, 29 Oct 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_383
........
  r36439 | kohsuke | 2010-10-29 17:40:05 -0700 (Fri, 29 Oct 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r36443 | kohsuke | 2010-10-29 18:48:26 -0700 (Fri, 29 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@36611 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-03 23:04:47 +00:00
kohsuke 2eebfb9bc7 [FIXED HUDSON-7745] suppressing the assertion so that the processing won't die.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36558 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-01 22:22:34 +00:00
kohsuke 65b0305070 Merged revisions 36181,36183,36188 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r36181 | kohsuke | 2010-10-24 06:05:54 -0700 (Sun, 24 Oct 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_382
........
  r36183 | kohsuke | 2010-10-24 06:06:36 -0700 (Sun, 24 Oct 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r36188 | kohsuke | 2010-10-24 07:40:27 -0700 (Sun, 24 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@36317 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-28 02:25:52 +00:00
kohsuke 401c06aad5 Merged revisions 35931,35963,35995,35997,36001 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r35931 | abayer | 2010-10-14 19:54:34 +0200 (Thu, 14 Oct 2010) | 1 line
  
  [FIXED HUDSON-7500] Fixed error when saving job configuration with matrix label axis longer than 30 characters
........
  r35963 | kohsuke | 2010-10-15 10:19:59 +0200 (Fri, 15 Oct 2010) | 1 line
  
  fixed unnecessary packet fragmentation when writing out HTTP responses
........
  r35995 | kohsuke | 2010-10-16 18:25:31 +0200 (Sat, 16 Oct 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_381
........
  r35997 | kohsuke | 2010-10-16 18:25:44 +0200 (Sat, 16 Oct 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r36001 | kohsuke | 2010-10-16 19:25:57 +0200 (Sat, 16 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@36011 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-17 09:03:32 +00:00